public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: twl4030: make power_companion_init static
@ 2007-07-31 18:18 Kevin Hilman
  2007-08-10  9:31 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-07-31 18:18 UTC (permalink / raw)
  To: linux-omap-open-source

This is not used outside twl4030, make it static.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
 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
===================================================================
--- linux-2.6.21.orig/drivers/i2c/chips/twl4030_core.c
+++ linux-2.6.21/drivers/i2c/chips/twl4030_core.c
@@ -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;
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: OMAP: twl4030: make power_companion_init static
  2007-07-31 18:18 [PATCH] ARM: OMAP: twl4030: make power_companion_init static Kevin Hilman
@ 2007-08-10  9:31 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-08-10  9:31 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-omap-open-source

* Kevin Hilman <khilman@mvista.com> [070731 11:26]:
> This is not used outside twl4030, make it static.
> 
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> ---
>  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
> ===================================================================
> --- linux-2.6.21.orig/drivers/i2c/chips/twl4030_core.c
> +++ linux-2.6.21/drivers/i2c/chips/twl4030_core.c
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-10  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 18:18 [PATCH] ARM: OMAP: twl4030: make power_companion_init static Kevin Hilman
2007-08-10  9:31 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox