projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2601a00
)
i2c: sprd: Fix undefined reference errors
author
Baolin Wang
<baolin.wang@spreadtrum.com>
Wed, 30 Aug 2017 03:05:47 +0000
(11:05 +0800)
committer
Wolfram Sang
<wsa@the-dreams.de>
Thu, 31 Aug 2017 18:32:33 +0000
(20:32 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/Kconfig
b/drivers/i2c/busses/Kconfig
index 1bd3e5fc337b971819b3339d23ac2395afa047fe..f9ba983e0fb0693c60110fa6ca5ee2a717118fed 100644
(file)
--- 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.