Subject: [PATCH] ARM: OMAP2: twl-common: fix compiler warnings

From: [email-masked] (Peter Ujfalusi)
Date: Fri, 06 Jul 2012 12:07:47 +0200

Hi Tero,

On 06/28/2012 12:49 PM, Tero Kristo wrote:
> OMAP2 does not use the external voltage controller code for TWL, and
> thus OMAP2 only compilation generates following warnings:
> 
> arch/arm/mach-omap2/twl-common.c:51: warning: 'twl_set_voltage' defined but not used
> arch/arm/mach-omap2/twl-common.c:57: warning: 'twl_get_voltage' defined but not used
> 
> This patch moves the code in question behind ARCH specific flags and
> eliminates these warnings.
> 
> Reported-by: Paul Walmsley <[email-masked]>
> Signed-off-by: Tero Kristo <[email-masked]>

I did sent similar patch:
http://www.mail-archive.com/linux-omap at vger.kernel.org/msg70432.html

Tony applied it to fixes I think already.

-- 
P?ter