aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-23 16:22:23 +0200
committerWolfram Sang <wsa@the-dreams.de>2017-05-31 21:01:04 +0200
commit53f8f7c5cf145d639ebd6d13cfdf2e3e9764add3 (patch)
tree2b69acd17f0daac9bc508f7135c50cffcb20bc9a /drivers/i2c/Makefile
parenti2c: break out OF support into separate file (diff)
downloadlinux-dev-53f8f7c5cf145d639ebd6d13cfdf2e3e9764add3.tar.xz
linux-dev-53f8f7c5cf145d639ebd6d13cfdf2e3e9764add3.zip
i2c: break out ACPI support into separate file
Removes some ifdeffery. Also add the new file to the relevant MAINTAINERS section. Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r--drivers/i2c/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 189e0e6476f0..7bb65a4369e1 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -5,6 +5,7 @@
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
obj-$(CONFIG_I2C) += i2c-core.o
i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
+i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o
i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
i2c-core-$(CONFIG_OF) += i2c-core-of.o