ARM: OMAP2: twl-common: Fix compiler warning
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Jun 2012 08:36:02 +0000 (01:36 -0700)
commitda0085ff9b2ca9ad21fd9fb380247e6639cccacd
treefeba22c88f1648bfb33a96ed729306410e3d7705
parent97ee9f01d6f26a69847d7a0ea07be756fe9f8eb6
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 <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/twl-common.c