regulator: Allow modular build of mc13xxx-core
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Dec 2010 14:10:25 +0000 (14:10 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:03 +0000 (14:33 +0000)
commit4d7071f1fdc9c27e15e8aaede27bef9f4feccafe
tree7f51701863f8d841276bfed8e82e16eb6a19a2a6
parent5e428d5cecc3f109b52e993a1bd91f82137867b3
regulator: Allow modular build of mc13xxx-core

Since the MFD core for this device and the regulator drivers for these
devices can be built modular we should also support modular build of
the shared code for the regulator drivers, otherwise we try to link
built in code against modular code with unfortunate results.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/Kconfig
drivers/regulator/mc13xxx-regulator-core.c