From: Peter Ujfalusi Date: Thu, 21 Jun 2012 08:36:02 +0000 (-0700) Subject: ARM: OMAP2: twl-common: Fix compiler warning X-Git-Tag: omap-fixes-non-critical-for-v3.6~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0085ff9b2ca9ad21fd9fb380247e6639cccacd;p=pandora-kernel.git ARM: OMAP2: twl-common: Fix compiler warning If the kernel is built only for OMAP2 the following warning will show up: arch/arm/mach-omap2/twl-common.c:52: warning: ‘twl_set_voltage’ defined but not used arch/arm/mach-omap2/twl-common.c:58: warning: ‘twl_get_voltage’ defined but not used The twl_set/get_voltage callbacks only used when OMAP3/4 is selected. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed