i2c: xgene: Set ACPI_COMPANION_I2C
authorTin Huynh <tnhuynh@apm.com>
Wed, 17 May 2017 04:25:34 +0000 (11:25 +0700)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 17 May 2017 07:21:06 +0000 (09:21 +0200)
commit83345d51a49a4b3f3b4a08a5db644dae438b0189
tree58c2c1be49d9d103a7fb66bfa2b13af73e77f6f0
parent88ad60c23a394b2f8bf1e570c756f415435d1d35
i2c: xgene: Set ACPI_COMPANION_I2C

With ACPI, i2c-core requires ACPI companion to be set in order for it
to create slave device.
This patch sets the ACPI companion accordingly.

Signed-off-by: Tin Huynh <tnhuynh@apm.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xgene-slimpro.c