Skip to contentSkip to conversation

clk: spear: fix build error for spear3xx

PATCH New Arnd Bergmann 3 participants 3 messages Jun 3, 2013 – Jun 11, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

drivers/clk/spear/spear3xx_clock.c +1 -1
index f9ec43f..080c3c5 100644
@@ -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)
#2 lore raw

PATCH 1/1 clk: spear: fix build error for spear3xx

In reply to Arnd Bergmann

Quoting 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.

Pulled into clk-fixes.

Thanks,
Mike

Quoted 14 lines
drivers/clk/spear/spear3xx_clock.c +1 -1
index f9ec43f..080c3c5 100644
@@ -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)