Re: linux-next: Tree for Oct 1 (drivers/mfd/simple-mfd-i2c.o)

From: Randy Dunlap
Date: Thu Oct 01 2020 - 16:13:03 EST


On 10/1/20 4:39 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20200930:
>

on x86_64:

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'


CONFIG_I2C=m
CONFIG_MFD_SIMPLE_MFD_I2C=y
CONFIG_MFD_SL28CPLD=y


Is linux-next missing the source code for CONFIG_MFD_SL28CPLD?


The build error is caused by:

config MFD_SL28CPLD
tristate "Kontron sl28cpld Board Management Controller"
select MFD_SIMPLE_MFD_I2C

that "select" when "depends on I2C" is absent/missing.


--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>