Skip to content

Commit

Permalink
i2c: sprd: Fix undefined reference errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Baolin Wang authored and Wolfram Sang committed Aug 31, 2017
1 parent 2601a00 commit 8ce906c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8ce906c

Please sign in to comment.