]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Fix mc13xxx regulator modular build (again)
authorDavid Miller <davem@davemloft.net>
Thu, 9 Feb 2012 21:43:01 +0000 (16:43 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 Feb 2012 22:57:46 +0000 (22:57 +0000)
commit6fde5e9d17bd6b78b6a2e69b78b170b5694ad98b
tree040a5580a931db08e5f82fdd0867a1f013bbb305
parentcc381c1506d2adfe03dd664d3d15899d18400db7
regulator: Fix mc13xxx regulator modular build (again)

Since mc13xxx-regulator-core.c and the actual drivers can get built
into seperate modules, you have to export the DT support symbols
"mc13xxx_get_num_regulators_dt" and "mc13xxx_parse_regulators_dt"
otherwise the allmodconfig build fails on sparc64.

[Updated the subject; the same thing was previously reported and fixed
in -next but for some reason nobody noticed for some considerable time
after the issue was introduced -- broonie]

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/mc13xxx-regulator-core.c