Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1723001
| From | Baolin Wang <baolin.wang@spreadtrum.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] i2c: sprd: Fix undefined reference errors |
| Date | 2017-08-30 05:20 +0200 |
| Message-ID | <uk1HP-2Xv-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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> --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 64729ac..71036c1 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -902,7 +902,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. -- 1.7.9.5
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] i2c: sprd: Fix undefined reference errors Baolin Wang <baolin.wang@spreadtrum.com> - 2017-08-30 05:20 +0200 Re: [PATCH] i2c: sprd: Fix undefined reference errors Wolfram Sang <wsa@the-dreams.de> - 2017-08-31 20:40 +0200
csiph-web