Эх сурвалжийг харах

clk: spear: fix build error for spear3xx

This patch is required to be able to disable spear320 support
after the spear320_clk_init() prototype changed for the real
function but not for the dummy.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Arnd Bergmann 12 жил өмнө
parent
commit
0b63cc3ce1

+ 1 - 1
drivers/clk/spear/spear3xx_clock.c

@@ -369,7 +369,7 @@ static void __init spear320_clk_init(void __iomem *soc_config_base)
 	clk_register_clkdev(clk, NULL, "60100000.serial");
 	clk_register_clkdev(clk, NULL, "60100000.serial");
 }
 }
 #else
 #else
-static inline void spear320_clk_init(void) { }
+static inline void spear320_clk_init(void __iomem *soc_config_base) { }
 #endif
 #endif
 
 
 void __init spear3xx_clk_init(void __iomem *misc_base, void __iomem *soc_config_base)
 void __init spear3xx_clk_init(void __iomem *misc_base, void __iomem *soc_config_base)