i2c: sprd: Fix undefined reference errors
authorBaolin Wang <baolin.wang@spreadtrum.com>
Wed, 30 Aug 2017 03:05:47 +0000 (11:05 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 31 Aug 2017 18:32:33 +0000 (20:32 +0200)
commit8ce906c13c32cfd3de71063ca4b8c3b774e4ca08
tree9e69ae26fd0d85a33709c3a7d77cbf289b94e41e
parent2601a0032f0ef5a0592a8ee4e4e12bb00ec19aeb
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>
drivers/i2c/busses/Kconfig