Re: [PATCH v4 2/2] i2c: add ACPI support for I2C mux ports

From: Jarkko Nikula
Date: Fri Oct 23 2015 - 09:56:06 EST


On 10/23/2015 04:40 PM, Mika Westerberg wrote:
On Fri, Oct 23, 2015 at 04:13:11PM +0300, Mika Westerberg wrote:
On Fri, Oct 23, 2015 at 12:16:11PM +0200, Wolfram Sang wrote:
On Fri, Oct 23, 2015 at 11:40:13AM +0300, Mika Westerberg wrote:
On Thu, Oct 22, 2015 at 02:17:42AM -0700, Dustin Byford wrote:
Ah, forgot to mention that the i2c-designware-pcidrv.c misses include of
<linux/acpi.h> so that needs to be fixed. Otherwise we get:

drivers/i2c/busses/i2c-designware-pcidrv.c: In function âi2c_dw_pci_probeâ:
drivers/i2c/busses/i2c-designware-pcidrv.c:259:2: error: implicit declaration of function âACPI_COMPANION_SETâ [-Werror=implicit-function-declaration]
drivers/i2c/busses/i2c-designware-pcidrv.c:259:33: error: implicit declaration of function âACPI_COMPANIONâ [-Werror=implicit-function-declaration]

Please also check that patches apply on top of i2c/for-next due recently applied cleanup patches from me.

I think commit d80d134182ba ("i2c: designware: Move common probe code into i2c_dw_probe()") makes your patch only a 2 liner to drivers/i2c/busses/i2c-designware-core.c :-)

--
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/