summaryrefslogtreecommitdiff
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-23 12:14:17 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-05-31 22:01:03 +0300
commite4991ecdc6b8ad2b21f3d6e90ef826b8871103a2 (patch)
tree19ef583bcff158034a85e8233aac43364eca9d89 /drivers/i2c/Makefile
parent91ed53491f4fa31879e0965a7e920dc10f78996c (diff)
downloadlinux-e4991ecdc6b8ad2b21f3d6e90ef826b8871103a2.tar.xz
i2c: break out slave 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 d459c7e59076..6c54716e7f28 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-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o