clk: samsung: add more aliases for s3c24xx
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 23 Jun 2014 20:29:10 +0000 (23:29 +0300)
committerTomasz Figa <t.figa@samsung.com>
Mon, 30 Jun 2014 12:45:56 +0000 (14:45 +0200)
Without these aliases clock lookup fails in s3c2410fb,
s3cmci, s3c2410-nand, s3c24xx-i2s, and i2c-s3c2410 drivers.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/clk/samsung/clk-s3c2410.c

index bd9a873da090a43788cbf5ff643830a1d575b277..140f4733c02e96e32826c58bf8c75c3ce805977a 100644 (file)
@@ -152,6 +152,11 @@ struct samsung_clock_alias s3c2410_common_aliases[] __initdata = {
        ALIAS(HCLK, NULL, "hclk"),
        ALIAS(MPLL, NULL, "mpll"),
        ALIAS(FCLK, NULL, "fclk"),
+       ALIAS(PCLK, NULL, "watchdog"),
+       ALIAS(PCLK_SDI, NULL, "sdi"),
+       ALIAS(HCLK_NAND, NULL, "nand"),
+       ALIAS(PCLK_I2S, NULL, "iis"),
+       ALIAS(PCLK_I2C, NULL, "i2c"),
 };
 
 /* S3C2410 specific clocks */