diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-23 11:14:17 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-05-31 21:01:03 +0200 |
commit | e4991ecdc6b8ad2b21f3d6e90ef826b8871103a2 (patch) | |
tree | 19ef583bcff158034a85e8233aac43364eca9d89 /drivers/i2c/Makefile | |
parent | i2c: rename core source file to allow refactorization (diff) | |
download | linux-e4991ecdc6b8ad2b21f3d6e90ef826b8871103a2.tar.xz linux-e4991ecdc6b8ad2b21f3d6e90ef826b8871103a2.zip |
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/Makefile | 1 |
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 |