lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: Tree for Aug 15 (input/misc/ibm-panel.c)
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

\
 
 \ /
  Last update: 2022-08-16 09:36    [W:0.453 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site