OSDN Git Service

OMAP2+: TWL: make conversion routines static
authorNishanth Menon <nm@ti.com>
Mon, 3 Jan 2011 18:58:29 +0000 (12:58 -0600)
committerKevin Hilman <khilman@ti.com>
Fri, 7 Jan 2011 21:33:07 +0000 (13:33 -0800)
commitc84ff1cc48fa41ea1b86f76f61dd4767f1adb0cd
tree987dc0d3a19103bb51164df60063af5676492143
parentd0eadf6d10923a46609b682bb12657fdfc1afc18
OMAP2+: TWL: make conversion routines static

The uv_to_vsel, vsel_to_uv functions don't need to be exposed to the
world as they are used as function pointers. make them static.

Fixes sparse warnings:
arch/arm/mach-omap2/omap_twl.c:63:15: warning: symbol 'twl4030_vsel_to_uv' was not declared. Should it be static?
arch/arm/mach-omap2/omap_twl.c:68:4: warning: symbol 'twl4030_uv_to_vsel' was not declared. Should it be static?
arch/arm/mach-omap2/omap_twl.c:73:15: warning: symbol 'twl6030_vsel_to_uv' was not declared. Should it be static?
arch/arm/mach-omap2/omap_twl.c:105:4: warning: symbol 'twl6030_uv_to_vsel' was not declared. Should it be static?

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/omap_twl.c