提交 bbc28134 编写于 作者: D Doug Anderson 提交者: Jonathan Cameron

iio: adc: Nothing in ADC should be a bool CONFIG

The whole IIO subsystem can be built as modules.  If you make it a
module then stuff marked as "Y" in the adc directory simply won't be
linked in properly.

The two configs that were wrong were EXYNOS_ADC and LP8788_ADC.  I
know for a fact that EXYNOS_ADC will work as a module. I assume
LP8788_ADC will also be fine.
Signed-off-by: NDoug Anderson <dianders@chromium.org>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 3d821a17
...@@ -106,7 +106,7 @@ config AT91_ADC ...@@ -106,7 +106,7 @@ config AT91_ADC
Say yes here to build support for Atmel AT91 ADC. Say yes here to build support for Atmel AT91 ADC.
config EXYNOS_ADC config EXYNOS_ADC
bool "Exynos ADC driver support" tristate "Exynos ADC driver support"
depends on OF depends on OF
help help
Core support for the ADC block found in the Samsung EXYNOS series Core support for the ADC block found in the Samsung EXYNOS series
...@@ -114,7 +114,7 @@ config EXYNOS_ADC ...@@ -114,7 +114,7 @@ config EXYNOS_ADC
this resource. this resource.
config LP8788_ADC config LP8788_ADC
bool "LP8788 ADC driver" tristate "LP8788 ADC driver"
depends on MFD_LP8788 depends on MFD_LP8788
help help
Say yes here to build support for TI LP8788 ADC. Say yes here to build support for TI LP8788 ADC.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册