diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2017-06-28 17:23:29 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-07-04 16:12:45 +0200 |
commit | 6e38cf3b442120a84e69faf1ac9a7b4cd79d1ad6 (patch) | |
tree | 6e4c2aafa0fb2354929d2366459348958c88b881 /include/linux | |
parent | 21bf440ce18e49b24601c3d1d25f691ef0334c4b (diff) | |
download | linux-stable-6e38cf3b442120a84e69faf1ac9a7b4cd79d1ad6.tar.gz linux-stable-6e38cf3b442120a84e69faf1ac9a7b4cd79d1ad6.tar.bz2 linux-stable-6e38cf3b442120a84e69faf1ac9a7b4cd79d1ad6.zip |
i2c: designware: Let slave adapter support be optional
Only certain system configurations may use the I2C slave mode so let the
support be optional. This allow reducing module size if needed:
text data bss dec hex filename
10328 1336 16 11680 2da0 drivers/i2c/busses/i2c-designware-core.ko
7222 1136 8 8366 20ae drivers/i2c/busses/i2c-designware-core.ko
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Luis Oliveira <lolivei@synopsys.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions