ARM: OMAP: twl4030: make power_companion_init static
PATCH 1/1 ARM: OMAP: twl4030: make power_companion_init static
This is not used outside twl4030, make it static.
Signed-off-by Kevin Hilman <[email protected]>
--- drivers/i2c/chips/twl4030_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/chips/twl4030_core.c +1 -1
@@ -669,7 +669,7 @@ static int unprotect_pm_master(void)return e; } -int power_companion_init (void ) +static int power_companion_init (void ) {struct clk *osc;u32 rate, ctrl =HFCLK_FREQ_26_MHZ ;
--
Quoted 12 lines · Kevin Hilman
This is not used outside twl4030, make it static.
Signed-off-by Kevin Hilman <[email protected]>--- drivers/i2c/chips/twl4030_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux-2.6.21/drivers/i2c/chips/twl4030_core.c
===================================================================
drivers/i2c/chips/twl4030_core.c static int unprotect_pm_master(void) · line 675
Quoted 8 lines
drivers/i2c/chips/twl4030_core.c +1
-1@@ -669,7 +669,7 @@ static int unprotect_pm_master(void)return e; } -int power_companion_init (void ) +static int power_companion_init (void ) {struct clk *osc;u32 rate, ctrl =HFCLK_FREQ_26_MHZ ;
Pushing today.
Tony