summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/Makefile
diff options
context:
space:
mode:
authorJuergen Fitschen <jfi@ssv-embedded.de>2019-02-22 10:25:22 +0100
committerWolfram Sang <wsa@the-dreams.de>2019-03-24 22:41:51 +0100
commit9d3ca54b550ca070d3e3ed0c137ed1655fcf2772 (patch)
tree5b02bd1a480a674ff5a826d0931d85ecdc0d8a98 /drivers/i2c/busses/Makefile
parentad7d142f8951ce00e0366ba54bfaf8ab086eb4b9 (diff)
downloadlinux-9d3ca54b550ca070d3e3ed0c137ed1655fcf2772.tar.gz
linux-9d3ca54b550ca070d3e3ed0c137ed1655fcf2772.tar.bz2
linux-9d3ca54b550ca070d3e3ed0c137ed1655fcf2772.zip
i2c: at91: added slave mode support
Slave mode driver is based on the concept of i2c-designware driver. Signed-off-by: Juergen Fitschen <me@jue.yt> [ludovic.desroches@microchip.com: rework Kconfig and replace IS_ENABLED by defined] Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.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, 3 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
index ea75a777940e..59b22fbef90a 100644
--- a/drivers/i2c/busses/Makefile
+++ b/drivers/i2c/busses/Makefile
@@ -36,6 +36,9 @@ obj-$(CONFIG_I2C_ALTERA) += i2c-altera.o
obj-$(CONFIG_I2C_ASPEED) += i2c-aspeed.o
obj-$(CONFIG_I2C_AT91) += i2c-at91.o
i2c-at91-objs := i2c-at91-core.o i2c-at91-master.o
+ifeq ($(CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL),y)
+ i2c-at91-objs += i2c-at91-slave.o
+endif
obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
obj-$(CONFIG_I2C_AXXIA) += i2c-axxia.o
obj-$(CONFIG_I2C_BCM2835) += i2c-bcm2835.o