Browse Source

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 <atul.dahiya@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Atul Dahiya 15 years ago
parent
commit
32fc7fb3b9
1 changed files with 6 additions and 6 deletions
  1. 6 6
      arch/arm/mach-s3c64xx/clock.c

+ 6 - 6
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,