summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/Makefile
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2016-08-24 23:25:43 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-08-26 00:41:54 +0200
commitad83665b4687f5a4456009487af1ea640b9b1b1b (patch)
treeb29628d819fae8ef858a2e864e68b0b8d6510a5d /drivers/i2c/busses/Makefile
parenti2c: octeon: Rename driver to prepare for split (diff)
downloadlinux-ad83665b4687f5a4456009487af1ea640b9b1b1b.tar.xz
linux-ad83665b4687f5a4456009487af1ea640b9b1b1b.zip
i2c: octeon: Split the driver into two parts
Move common functionality into a separate file in preparation of the re-use from the ThunderX i2c driver. Functions are slightly re-ordered but no other changes are included. Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/Makefile')
-rw-r--r--drivers/i2c/busses/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
index f2c9c6f9b89d..f975263a5da3 100644
--- a/drivers/i2c/busses/Makefile
+++ b/drivers/i2c/busses/Makefile
@@ -91,7 +91,8 @@ obj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o
obj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
obj-$(CONFIG_I2C_WMT) += i2c-wmt.o
-obj-$(CONFIG_I2C_OCTEON) += i2c-octeon-platdrv.o
+i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
+obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
obj-$(CONFIG_I2C_XLR) += i2c-xlr.o
obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o