On Mon, Aug 15, 2022 at 06:26:43PM -0700, Randy Dunlap wrote: > > > On 8/14/22 19:29, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20220812: > > > > on x86_64: > > when CONFIG_I2C=m and CONFIG_I2C_SLAVE=y: > > ld: drivers/input/misc/ibm-panel.o: in function `ibm_panel_remove': > ibm-panel.c:(.text+0x16): undefined reference to `i2c_slave_unregister' > ld: drivers/input/misc/ibm-panel.o: in function `ibm_panel_probe': > ibm-panel.c:(.text+0x3e3): undefined reference to `i2c_slave_register' > ld: drivers/input/misc/ibm-panel.o: in function `ibm_panel_driver_init': > ibm-panel.c:(.init.text+0x18): undefined reference to `i2c_register_driver' > ld: drivers/input/misc/ibm-panel.o: in function `ibm_panel_driver_exit': > ibm-panel.c:(.exit.text+0x11): undefined reference to `i2c_del_driver' It sounds like I need to adjust the depend statement to be: depends on I2C && I2C_SLAVE Thanks. -- Dmitry