summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorWolfram Sang2017-05-23 12:27:17 +0200
committerWolfram Sang2017-05-31 21:01:03 +0200
commit22c78d1cce104072747023d2ae0351bf3f97d725 (patch)
tree03c552b637a825ce43e838233671a63c74a2de8e /drivers/i2c/Makefile
parenti2c: break out slave support into separate file (diff)
downloadkernel-qcow2-linux-22c78d1cce104072747023d2ae0351bf3f97d725.tar.gz
kernel-qcow2-linux-22c78d1cce104072747023d2ae0351bf3f97d725.tar.xz
kernel-qcow2-linux-22c78d1cce104072747023d2ae0351bf3f97d725.zip
i2c: break out smbus support into separate file
Break out the exported SMBus functions and the emulation layer into a separate file. This also involved splitting up the tracing header into an I2C and an SMBus part. 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/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 6c54716e7f28..a6a90fe2db88 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -4,7 +4,7 @@
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
obj-$(CONFIG_I2C) += i2c-core.o
-i2c-core-objs := i2c-core-base.o
+i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
obj-$(CONFIG_I2C_SMBUS) += i2c-smbus.o