Re: [PATCH] ARM: OMAP2: twl-common: Fix compiler warning

2012-06-20 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [120615 06:38]: 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

[PATCH] ARM: OMAP2: twl-common: Fix compiler warning

2012-06-15 Thread Peter Ujfalusi
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