From: Peter Ujfalusi Date: Fri, 15 Jun 2012 13:33:54 +0000 (+0300) Subject: ARM: OMAP2: twl-common: Fix compiler warning X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b86a3bf324fe4c49b6a52e769313612796e712ab;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