Re: [PATCH v8 3/9] i2c: core: call of_i2c_setup_smbus_alert in i2c_register_adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/07/2017 02:30, kbuild test robot wrote:
Hi Phil,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.13-rc1]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Phil-Reid/i2c-i2c-smbus-Use-threaded-irq-for-smbalert/20170719-095934
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: powerpc-ppc6xx_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # save the attached .config to linux build tree
         make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

    drivers/i2c/i2c-core-base.o: In function `i2c_register_adapter':
drivers/i2c/i2c-core-base.c:1262: undefined reference to `of_i2c_setup_smbus_alert'


I understand how this is occurring.
I2C=y, OF=y and I2C_PARPORT=m
I2C_PARPORT selects I2C_SMBUS setting it to m

Calling a function in i2c-smbus (module) from i2c-core (builtin) is then a problem.

However there doesn't seem to be a way (that I can see) to have select statement force I2C_SMBUS=y if I2C=y

Can I get a hint on what the correct course of action is.



--
Regards
Phil Reid




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux