]> Pileus Git - ~andy/linux/commitdiff
ARM: S3C64XX: Move RTC clock from init_clocks to init_clocks_disable
authorAtul Dahiya <atul.dahiya@samsung.com>
Thu, 15 Jul 2010 06:26:15 +0000 (11:56 +0530)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 5 Aug 2010 09:32:50 +0000 (18:32 +0900)
RTC clock does not require to be enabled at boot time.

Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/clock.c

index 7772f92d29050915261ec07770af9b4863a02c2b..3999a18404b530b57d514846677f263fc002458a 100644 (file)
@@ -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,