summaryrefslogtreecommitdiff
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-23 11:50:58 +0200
committerWolfram Sang <wsa@the-dreams.de>2017-05-31 21:01:04 +0200
commit5bf4fa7daea6d5257357b613d0bb81c68e2d1af2 (patch)
tree6965a63f2f48bdb1ee512c1f52e81241bf570c95 /drivers/i2c/Makefile
parent22c78d1cce104072747023d2ae0351bf3f97d725 (diff)
i2c: break out OF support into separate file
Also removes some ifdeffery. 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 a6a90fe2db88..189e0e6476f0 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -6,6 +6,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_I2C_SLAVE) += i2c-core-slave.o
+i2c-core-$(CONFIG_OF) += i2c-core-of.o
obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o