regulator: export of_get_regulator_init_data
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Nov 2011 10:50:58 +0000 (18:50 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 27 Nov 2011 11:29:21 +0000 (11:29 +0000)
commite69af5e9677b1e5bf2a2432747ecd714aa537f2a
tree16c5db6340f828841399530b06c20a9bfc61d7af
parent156843470c4b9ea9698cc245d2cff769b3784088
regulator: export of_get_regulator_init_data

of_get_regulator_init_data is called in drivers/regulator/fixed.c
which could be a module.

Export of_get_regulator_init_data to fix below build error:
ERROR: "of_get_regulator_init_data" [drivers/regulator/fixed.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/of_regulator.c