ARM: S3C64XX: Add USB OTG HCLK to the list of clocks
authorThomas Abraham <thomas.ab@samsung.com>
Fri, 28 May 2010 02:41:14 +0000 (11:41 +0900)
committerBen Dooks <ben-linux@fluff.org>
Fri, 28 May 2010 10:31:34 +0000 (19:31 +0900)
Add the USB OTG HCLK clock to the list of clocks to be registered
during initialization.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c64xx/clock.c

index 7a4138beb665a1391dd5fe6137da1f584fc31107..fbd85a9b7bbfa1ee279a502f8b3a6393ae8228c3 100644 (file)
@@ -258,6 +258,12 @@ static struct clk init_clocks[] = {
                .parent         = &clk_h,
                .enable         = s3c64xx_hclk_ctrl,
                .ctrlbit        = S3C_CLKCON_HCLK_HSMMC2,
+       }, {
+               .name           = "otg",
+               .id             = -1,
+               .parent         = &clk_h,
+               .enable         = s3c64xx_hclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_HCLK_USB,
        }, {
                .name           = "timers",
                .id             = -1,