Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b63cc3c authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mike Turquette
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 071ff9a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)