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>
This commit is contained in:
Baolin Wang 2017-08-30 11:05:47 +08:00 • committed by Wolfram Sang
commit 8ce906c13c