Skip to contentSkip to conversation

mfd: wm8400: Don't support non-modular build

PATCH In review Mark Brown 2 participants 3 messages May 14, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 mfd: wm8400: Don't support non-modular build

It's relying on non-exported symbols.

---
 drivers/mfd/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index 8a767a6..0ff6d54 100644
@@ -468,7 +468,7 @@ config MFD_S5M_CORE
 	 of the device
 
 config MFD_WM8400
-	tristate "Support Wolfson Microelectronics WM8400"
+	bool "Support Wolfson Microelectronics WM8400"
 	select MFD_CORE
 	depends on I2C
 	select REGMAP_I2C
Signature · 1 line
1.7.10
author
#1 lore raw

PATCH 2/2 mfd: wm8400: Export wm8400_block_read()

Used by the regulator driver.

---
 drivers/mfd/wm8400-core.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/wm8400-core.c +1 -0
index 9083b77..4b7d378 100644
@@ -60,6 +60,7 @@ int wm8400_block_read(struct wm8400 *wm8400, u8 reg, int count, u16 *data)
 {
 	return regmap_bulk_read(wm8400->regmap, reg, data, count);
 }
+EXPORT_SYMBOL_GPL(wm8400_block_read);
 
 static int wm8400_register_codec(struct wm8400 *wm8400)
 {
Signature · 1 line
1.7.10