提交 0165c300 编写于 作者: R Richard Weinberger 提交者: Jonathan Cameron

iio: adc: Fix dependencies for !HAS_IOMEM archs

Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: NRichard Weinberger <richard@nod.at>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 9979e320
...@@ -175,6 +175,7 @@ config DA9150_GPADC ...@@ -175,6 +175,7 @@ config DA9150_GPADC
config EXYNOS_ADC config EXYNOS_ADC
tristate "Exynos ADC driver support" tristate "Exynos ADC driver support"
depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST) depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
depends on HAS_IOMEM
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
of SoCs for drivers such as the touchscreen and hwmon to use to share of SoCs for drivers such as the touchscreen and hwmon to use to share
...@@ -207,6 +208,7 @@ config INA2XX_ADC ...@@ -207,6 +208,7 @@ config INA2XX_ADC
config IMX7D_ADC config IMX7D_ADC
tristate "IMX7D ADC driver" tristate "IMX7D ADC driver"
depends on ARCH_MXC || COMPILE_TEST depends on ARCH_MXC || COMPILE_TEST
depends on HAS_IOMEM
help help
Say yes here to build support for IMX7D ADC. Say yes here to build support for IMX7D ADC.
...@@ -409,6 +411,7 @@ config TWL6030_GPADC ...@@ -409,6 +411,7 @@ config TWL6030_GPADC
config VF610_ADC config VF610_ADC
tristate "Freescale vf610 ADC driver" tristate "Freescale vf610 ADC driver"
depends on OF depends on OF
depends on HAS_IOMEM
select IIO_BUFFER select IIO_BUFFER
select IIO_TRIGGERED_BUFFER select IIO_TRIGGERED_BUFFER
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册