commit | d5fd120e7860c2b3d4c936a2ebadb6b244bec4c8 | [log] [tgz] |
---|---|---|
author | Jean Delvare <jdelvare@suse.de> | Mon Jan 26 20:59:31 2015 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Jan 26 22:05:20 2015 +0100 |
tree | accfd5191f854f2bef8b6405ffb3cb07d4e801f0 | |
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>