summaryrefslogtreecommitdiffstats
path: root/drivers/clk/spear
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 14:31:37 -0700
commit0b63cc3ce11822ac96a334a345640f524212cd6b (patch)
treebcea32bf8d63d5ecd0a467ce2e4a036daafc1d0c /drivers/clk/spear
parent071ff9a36cb08b5a2b099fcdb45b63a61618f928 (diff)
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>
Diffstat (limited to 'drivers/clk/spear')
-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 f9ec43fd132..080c3c5e33f 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)