mfd: wm8400: Don't support non-modular build
Subsystems (2)
PATCH 1/2 mfd: wm8400: Don't support non-modular build
It's relying on non-exported symbols.
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
@@ -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
PATCH 2/2 mfd: wm8400: Export wm8400_block_read()
Used by the regulator driver.
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Mark Brown <[email protected]>
--- drivers/mfd/wm8400-core.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/wm8400-core.c +1 -0
@@ -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
Hi Mark,
Quoted 4 lines · Mark Brown
It's relying on non-exported symbols.
Reported-by Stephen Rothwell <[email protected]>Signed-off-by Mark Brown <[email protected]>
Both patches applied, thanks a lot.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/