regulator: ab8500: Fix build error
authorAxel Lin <axel.lin@ingics.com>
Mon, 25 Mar 2013 06:53:50 +0000 (14:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Mar 2013 10:19:43 +0000 (10:19 +0000)
commit328a5369664d09e9082a8e814a9b2dcdfb7f519b
treea67b8059dc04f829b447834fc1678740cefe6fad
parent732805a563617aafc7405409c03182afafb3943b
regulator: ab8500: Fix build error

Fix below build error:

  CC      drivers/regulator/ab8500.o
drivers/regulator/ab8500.c:500:23: error: 'ab8500_regulator_fixed_ops' undeclared here (not in a function)
drivers/regulator/ab8500.c: In function 'ab8500_regulator_probe':
drivers/regulator/ab8500.c:972:8: warning: assignment from incompatible pointer type [enabled by default]
make[2]: *** [drivers/regulator/ab8500.o] Error 1
make[1]: *** [drivers/regulator] Error 2
make: *** [drivers] Error 2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/ab8500.c