clk: spear: fix build error for spear3xx
Subsystems (2)
PATCH 1/1 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 <[email protected]>
drivers/clk/spear/spear3xx_clock.c +1 -1
@@ -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)
PATCH 1/1 clk: spear: fix build error for spear3xx
Quoted 5 lines · Arnd Bergmann
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 <[email protected]>
Acked-by Viresh Kumar <[email protected]>
PATCH 1/1 clk: spear: fix build error for spear3xx
In reply to Arnd BergmannQuoting Arnd Bergmann (2013-06-03 15:05:07)
Quoted 5 lines
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 <[email protected]>
Pulled into clk-fixes.
Thanks,
Mike
Quoted 14 lines
drivers/clk/spear/spear3xx_clock.c +1
-1@@ -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)