diff options
author | Baolin Wang <baolin.wang@spreadtrum.com> | 2017-08-30 11:05:47 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-31 20:32:33 +0200 |
commit | 8ce906c13c32cfd3de71063ca4b8c3b774e4ca08 (patch) | |
tree | 9e69ae26fd0d85a33709c3a7d77cbf289b94e41e /drivers/i2c | |
parent | 2601a0032f0ef5a0592a8ee4e4e12bb00ec19aeb (diff) |
i2c: sprd: Fix undefined reference errors
Since the i2c driver of Spreadtrum can not be build as one module, thus
it should depend on CONFIG_I2C is build in.
Signed-off-by: Baolin Wang <baolin.wang@spreadtrum.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 1bd3e5fc337b..f9ba983e0fb0 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -910,7 +910,7 @@ config I2C_SIRF config I2C_SPRD bool "Spreadtrum I2C interface" - depends on ARCH_SPRD + depends on I2C=y && ARCH_SPRD help If you say yes to this option, support will be included for the Spreadtrum I2C interface. |