diff options
author | Jean Delvare <jdelvare@suse.de> | 2015-01-26 20:59:31 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-01-26 22:05:20 +0100 |
commit | d5fd120e7860c2b3d4c936a2ebadb6b244bec4c8 (patch) | |
tree | accfd5191f854f2bef8b6405ffb3cb07d4e801f0 /drivers/i2c/busses/Kconfig | |
parent | 34e81ad5f0b60007c95995eb7803da7e00c6c611 (diff) |
i2c: Only include slave support if selected
Make the slave support depend on CONFIG_I2C_SLAVE. Otherwise it gets
included unconditionally, even when it is not needed.
I2C bus drivers which implement slave support must select
I2C_SLAVE.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/Kconfig')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 31e8308ba899..ab838d9e28b6 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -881,6 +881,7 @@ config I2C_XLR config I2C_RCAR tristate "Renesas R-Car I2C Controller" depends on ARCH_SHMOBILE || COMPILE_TEST + select I2C_SLAVE help If you say yes to this option, support will be included for the R-Car I2C controller. |