summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm8994-regmap.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-08-22 05:09:27 -0400
committerLee Jones <lee.jones@linaro.org>2014-09-26 03:15:35 -0400
commit7821d9b24bf73eee7a4e3e3744f05c6eee88db48 (patch)
tree9aa9dffff6cf8f3bd8d56ea7dae9df6d6174f329 /drivers/mfd/wm8994-regmap.c
parent5f114ebcee681b011e8b5bcd2b24169b85286050 (diff)
mfd: wm8994: Export symbols ready for built-in => modular build
We'd like to be able to build the WM8994 family as modules, but the build will fail if the external symbols aren't exported first. Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/wm8994-regmap.c')
-rw-r--r--drivers/mfd/wm8994-regmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/wm8994-regmap.c b/drivers/mfd/wm8994-regmap.c
index 770a25696468..300e9b6a2e96 100644
--- a/drivers/mfd/wm8994-regmap.c
+++ b/drivers/mfd/wm8994-regmap.c
@@ -1252,6 +1252,7 @@ struct regmap_config wm1811_regmap_config = {
1252 .volatile_reg = wm1811_volatile_register, 1252 .volatile_reg = wm1811_volatile_register,
1253 .readable_reg = wm1811_readable_register, 1253 .readable_reg = wm1811_readable_register,
1254}; 1254};
1255EXPORT_SYMBOL(wm1811_regmap_config);
1255 1256
1256struct regmap_config wm8994_regmap_config = { 1257struct regmap_config wm8994_regmap_config = {
1257 .reg_bits = 16, 1258 .reg_bits = 16,
@@ -1266,6 +1267,7 @@ struct regmap_config wm8994_regmap_config = {
1266 .volatile_reg = wm8994_volatile_register, 1267 .volatile_reg = wm8994_volatile_register,
1267 .readable_reg = wm8994_readable_register, 1268 .readable_reg = wm8994_readable_register,
1268}; 1269};
1270EXPORT_SYMBOL(wm8994_regmap_config);
1269 1271
1270struct regmap_config wm8958_regmap_config = { 1272struct regmap_config wm8958_regmap_config = {
1271 .reg_bits = 16, 1273 .reg_bits = 16,
@@ -1280,8 +1282,10 @@ struct regmap_config wm8958_regmap_config = {
1280 .volatile_reg = wm8958_volatile_register, 1282 .volatile_reg = wm8958_volatile_register,
1281 .readable_reg = wm8958_readable_register, 1283 .readable_reg = wm8958_readable_register,
1282}; 1284};
1285EXPORT_SYMBOL(wm8958_regmap_config);
1283 1286
1284struct regmap_config wm8994_base_regmap_config = { 1287struct regmap_config wm8994_base_regmap_config = {
1285 .reg_bits = 16, 1288 .reg_bits = 16,
1286 .val_bits = 16, 1289 .val_bits = 16,
1287}; 1290};
1291EXPORT_SYMBOL(wm8994_base_regmap_config);