Re: [PATCH] platform/x86: INT33FE: add I2C dependency

2017-04-21 Thread Darren Hart
On Fri, Apr 21, 2017 at 11:03:13PM +0200, Arnd Bergmann wrote: > When I2C is disabled, we get a link error: > > drivers/platform/built-in.o: In function `cht_int33fe_remove': > intel_cht_int33fe.c:(.text+0x8ba): undefined reference to > `i2c_unregister_device' > drivers/platform/built-in.o: In fu

Re: [PATCH] platform/x86: INT33FE: add i2c dependency

2017-04-21 Thread Darren Hart
On Fri, Apr 21, 2017 at 09:19:10AM +0200, Hans de Goede wrote: > Hi, > > On 20-04-17 14:51, Tobias Regnery wrote: > > With CONFIG_I2C=m and CONFIG_INTEL_CHT_INT33FE=y we see the following link > > errors: > > > > drivers/built-in.o: In function 'cht_int33fe_remove': > > intel_cht_int33fe.c:(.text

[PATCH] platform/x86: INT33FE: add I2C dependency

2017-04-21 Thread Arnd Bergmann
When I2C is disabled, we get a link error: drivers/platform/built-in.o: In function `cht_int33fe_remove': intel_cht_int33fe.c:(.text+0x8ba): undefined reference to `i2c_unregister_device' drivers/platform/built-in.o: In function `cht_int33fe_probe': intel_cht_int33fe.c:(.text+0x9ec): undefined re

Re: [PATCH] platform/x86: INT33FE: add i2c dependency

2017-04-21 Thread Hans de Goede
Hi, On 20-04-17 14:51, Tobias Regnery wrote: With CONFIG_I2C=m and CONFIG_INTEL_CHT_INT33FE=y we see the following link errors: drivers/built-in.o: In function 'cht_int33fe_remove': intel_cht_int33fe.c:(.text+0x391f6e): undefined reference to 'i2c_unregister_device' intel_cht_int33fe.c:(.text+

[PATCH] platform/x86: INT33FE: add i2c dependency

2017-04-20 Thread Tobias Regnery
With CONFIG_I2C=m and CONFIG_INTEL_CHT_INT33FE=y we see the following link errors: drivers/built-in.o: In function 'cht_int33fe_remove': intel_cht_int33fe.c:(.text+0x391f6e): undefined reference to 'i2c_unregister_device' intel_cht_int33fe.c:(.text+0x391f76): undefined reference to 'i2c_unregist