Skip to content

Commit 5dc6daf

Browse files
robimarkoLee Jones
authored andcommitted
mfd: simple-mfd-i2c: Select MFD_CORE to fix build error
MFD_SIMPLE_MFD_I2C should select the MFD_CORE to a prevent build error: aarch64-linux-ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': drivers/mfd/simple-mfd-i2c.c:55: undefined reference to `devm_mfd_add_devices' Cc: <[email protected]> Fixes: c753ea3 ("mfd: simple-mfd-i2c: Add support for registering devices via MFD cells") Signed-off-by: Robert Marko <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b20cd02 commit 5dc6daf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mfd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ config MFD_SI476X_CORE
11961196
config MFD_SIMPLE_MFD_I2C
11971197
tristate
11981198
depends on I2C
1199+
select MFD_CORE
11991200
select REGMAP_I2C
12001201
help
12011202
This driver creates a single register map with the intention for it

0 commit comments

Comments
 (0)