clk: ux500: Ensure the FMSC clock is obtainable
authorLee Jones <lee.jones@linaro.org>
Wed, 19 Dec 2012 16:42:29 +0000 (16:42 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Mar 2013 22:23:19 +0000 (23:23 +0100)
The FMSC clock is traditionally used for NAND flash devices when
used on the ux500 series platforms. This patch makes it searchable
during a clock-name search.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/clk/ux500/u8500_clk.c

index 6b889a0e90b325460f1bd555a40f56a23b8dafb6..a6018022862873df9537a92bf4fef2a6fe3f123b 100644 (file)
@@ -324,7 +324,7 @@ void u8500_clk_init(void)
 
        clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", U8500_CLKRST3_BASE,
                                BIT(0), 0);
-       clk_register_clkdev(clk, NULL, "fsmc");
+       clk_register_clkdev(clk, "fsmc", NULL);
 
        clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", U8500_CLKRST3_BASE,
                                BIT(1), 0);