summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/s3c6410.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-26 15:10:38 +0900
committerBen Dooks <ben-linux@fluff.org>2010-02-20 22:34:02 +0000
commit55bf9267dd628c9369674ca75f5b00e275529289 (patch)
treef138ba2458981f554dafc6d04798fe16b466d5f7 /arch/arm/mach-s3c64xx/s3c6410.c
parent62acb2f82dc27cd40729e7d4c2879e57fe41b927 (diff)
downloadlwn-55bf9267dd628c9369674ca75f5b00e275529289.tar.gz
lwn-55bf9267dd628c9369674ca75f5b00e275529289.zip
ARM: S3C64XX: Combine the clock init code
Turn the init sequence of s3c24xx_register_baseclocks(xtal); s3c64xx_register_clocks(); s3c6400_register_clocks(S3C6410_CLKDIV0_ARM_MASK); into a single call as this is now contained within one file. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/s3c6410.c')
-rw-r--r--arch/arm/mach-s3c64xx/s3c6410.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c64xx/s3c6410.c b/arch/arm/mach-s3c64xx/s3c6410.c
index fd457cc3ab87..59635d19466a 100644
--- a/arch/arm/mach-s3c64xx/s3c6410.c
+++ b/arch/arm/mach-s3c64xx/s3c6410.c
@@ -58,9 +58,7 @@ void __init s3c6410_map_io(void)
void __init s3c6410_init_clocks(int xtal)
{
printk(KERN_DEBUG "%s: initialising clocks\n", __func__);
- s3c24xx_register_baseclocks(xtal);
- s3c64xx_register_clocks();
- s3c6400_register_clocks(S3C6410_CLKDIV0_ARM_MASK);
+ s3c64xx_register_clocks(xtal, S3C6410_CLKDIV0_ARM_MASK);
s3c6400_setup_clocks();
}