Commit 8ce906c1 authored by Baolin Wang's avatar Baolin Wang Committed by Wolfram Sang

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: default avatarBaolin Wang <baolin.wang@spreadtrum.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2601a003
...@@ -910,7 +910,7 @@ config I2C_SIRF ...@@ -910,7 +910,7 @@ config I2C_SIRF
config I2C_SPRD config I2C_SPRD
bool "Spreadtrum I2C interface" bool "Spreadtrum I2C interface"
depends on ARCH_SPRD depends on I2C=y && ARCH_SPRD
help help
If you say yes to this option, support will be included for the If you say yes to this option, support will be included for the
Spreadtrum I2C interface. Spreadtrum I2C interface.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment