regulator: mc13xxx-regulator-core: Fix the build when driver is selected as module
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 24 Jan 2012 20:37:16 +0000 (18:37 -0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jan 2012 20:47:25 +0000 (20:47 +0000)
commit2343933921efd553dea888fc844abb653824c4c8
treebabd79567712b34ecf8bdf5e184429fc6093a30e
parente371ceb89f531280d30cadbdb8371656468705b1
regulator: mc13xxx-regulator-core: Fix the build when driver is selected as module

Fix the following build error when mc138xxx driver is built as module:

ERROR: "mc13xxx_parse_regulators_dt" [drivers/regulator/mc13892-regulator.ko] undefined!
ERROR: "mc13xxx_get_num_regulators_dt" [drivers/regulator/mc13892-regulator.ko] undefined!

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/mc13xxx-regulator-core.c