summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/Makefile
diff options
context:
space:
mode:
authorHans Hu <hanshu-oc@zhaoxin.com>2024-04-08 10:54:44 +0800
committerAndi Shyti <andi.shyti@kernel.org>2024-05-06 00:56:42 +0200
commit5acd48fa72ad16b824a9117254ce48ed69c914e8 (patch)
tree2e68c6d81023765ad0c3deb0150508f5740c7627 /drivers/i2c/busses/Makefile
parent8525205fd51f543cdf92f6c9aa65a9720cda9513 (diff)
i2c: wmt: split out common files
Since the I2C IP of both wmt and zhaoxin originates from VIA, it is better to separate the common code first. The common driver is named as i2c-viai2c-common.c. Old i2c-wmt.c renamed to i2c-viai2c-wmt.c. The MAINTAINERS file will be updated accordingly in upcoming commits. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Hans Hu <hanshu-oc@zhaoxin.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/Makefile')
-rw-r--r--drivers/i2c/busses/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
index aa0ee8ecd6f2..63c7bbad8134 100644
--- a/drivers/i2c/busses/Makefile
+++ b/drivers/i2c/busses/Makefile
@@ -118,6 +118,7 @@ obj-$(CONFIG_I2C_TEGRA_BPMP) += i2c-tegra-bpmp.o
obj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o
obj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
+i2c-wmt-objs := i2c-viai2c-wmt.o i2c-viai2c-common.o
obj-$(CONFIG_I2C_WMT) += i2c-wmt.o
i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o