From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: OMAP: twl4030: make power_companion_init static Date: Fri, 10 Aug 2007 02:31:37 -0700 Message-ID: <20070810093137.GM8658@atomide.com> References: <20070731181837.518602875@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070731181837.518602875@mvista.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Kevin Hilman Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Kevin Hilman [070731 11:26]: > This is not used outside twl4030, make it static. > > Signed-off-by: Kevin Hilman > --- > 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