summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-06-04 00:05:07 +0200
committerMike Turquette <mturquette@linaro.org>2013-06-11 23:31:37 +0200
commit0b63cc3ce11822ac96a334a345640f524212cd6b (patch)
treebcea32bf8d63d5ecd0a467ce2e4a036daafc1d0c
parentclk: samsung: Fix pll36xx_recalc_rate to handle kdiv properly (diff)
downloadlinux-0b63cc3ce11822ac96a334a345640f524212cd6b.tar.xz
linux-0b63cc3ce11822ac96a334a345640f524212cd6b.zip
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>
-rw-r--r--drivers/clk/spear/spear3xx_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/spear3xx_clock.c b/drivers/clk/spear/spear3xx_clock.c
index f9ec43fd1320..080c3c5e33f6 100644
--- a/drivers/clk/spear/spear3xx_clock.c
+++ b/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");
}
#else
-static inline void spear320_clk_init(void) { }
+static inline void spear320_clk_init(void __iomem *soc_config_base) { }
#endif
void __init spear3xx_clk_init(void __iomem *misc_base, void __iomem *soc_config_base)