From 32fc7fb3b9b3e4b9361bda2d42921f71fe279d77 Mon Sep 17 00:00:00 2001 From: Atul Dahiya Date: Thu, 15 Jul 2010 11:56:15 +0530 Subject: ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable RTC clock does not require to be enabled at boot time. Signed-off-by: Atul Dahiya Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c64xx/clock.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index 7772f92d290..3999a18404b 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c @@ -132,6 +132,12 @@ static struct clk init_clocks_disable[] = { .name = "nand", .id = -1, .parent = &clk_h, + }, { + .name = "rtc", + .id = -1, + .parent = &clk_p, + .enable = s3c64xx_pclk_ctrl, + .ctrlbit = S3C_CLKCON_PCLK_RTC, }, { .name = "adc", .id = -1, @@ -294,12 +300,6 @@ static struct clk init_clocks[] = { .parent = &clk_p, .enable = s3c64xx_pclk_ctrl, .ctrlbit = S3C_CLKCON_PCLK_UART3, - }, { - .name = "rtc", - .id = -1, - .parent = &clk_p, - .enable = s3c64xx_pclk_ctrl, - .ctrlbit = S3C_CLKCON_PCLK_RTC, }, { .name = "watchdog", .id = -1, -- cgit v1.2.3-70-g09d2