Skip to content

Commit 328162a

Browse files
author
Lee Jones
committed
mfd: sl28cpld: Depend on I2C
Fixes the following randconfig build error: ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': simple-mfd-i2c.c:(.text+0x48): undefined reference to `__devm_regmap_init_i2c' ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_driver_init': simple-mfd-i2c.c:(.init.text+0x14): undefined reference to `i2c_register_driver' ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_driver_exit': simple-mfd-i2c.c:(.exit.text+0xd): undefined reference to `i2c_del_driver' Reported-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Lee Jones <[email protected]>
1 parent 1586d3a commit 328162a

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
@@ -1188,6 +1188,7 @@ config MFD_SIMPLE_MFD_I2C
11881188

11891189
config MFD_SL28CPLD
11901190
tristate "Kontron sl28cpld Board Management Controller"
1191+
depends on I2C
11911192
select MFD_SIMPLE_MFD_I2C
11921193
help
11931194
Say yes here to enable support for the Kontron sl28cpld board

0 commit comments

Comments
 (0)