]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: rework kernel config I2C_ACPI
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 15 Aug 2014 05:38:59 +0000 (13:38 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 19 Aug 2014 15:19:39 +0000 (10:19 -0500)
commit64167a12e1c0e59809af2d193233af3d9540efe9
tree5cb391fb269e26814318a138b15642a3e5c94c2d
parentf45f9587f1dd1e89dd1c89561c9572f777c5bcb7
i2c: rework kernel config I2C_ACPI

Commit 5b717ce3(I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI
config) adds a new kernel config I2C_ACPI and make I2C core built in
when the config is selected. This is wrong because distributions
etc generally compile I2C as a module and the commit broken that.
This patch is to rename I2C_ACPI to ACPI_I2C_OPREGION. New config
only controls ACPI I2C operation region code and depends on I2C=y.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
[wsa: removed unrelated change for Kconfig]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/i2c-acpi.c
include/linux/i2c.h