diff options
author | Juergen Fitschen <jfi@ssv-embedded.de> | 2019-02-22 12:25:22 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-03-25 00:41:51 +0300 |
commit | 9d3ca54b550ca070d3e3ed0c137ed1655fcf2772 (patch) | |
tree | 5b02bd1a480a674ff5a826d0931d85ecdc0d8a98 /drivers/i2c/busses/Makefile | |
parent | ad7d142f8951ce00e0366ba54bfaf8ab086eb4b9 (diff) | |
download | linux-9d3ca54b550ca070d3e3ed0c137ed1655fcf2772.tar.xz |
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/Makefile | 3 |
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 |