diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 17:24:05 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 10:43:49 -0500 |
commit | 0165c3005fd64f850b1bbfe2fd24b916a161b696 (patch) | |
tree | cd76457cdeef21a1887f73dc9642056ba6ea6073 | |
parent | 9979e320b559264333a77c73131ae88cefca15e5 (diff) |
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: Richard Weinberger <richard@nod.at>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/adc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 605ff42c4631..283ded7747a9 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig | |||
@@ -175,6 +175,7 @@ config DA9150_GPADC | |||
175 | config EXYNOS_ADC | 175 | config EXYNOS_ADC |
176 | tristate "Exynos ADC driver support" | 176 | tristate "Exynos ADC driver support" |
177 | depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST) | 177 | depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST) |
178 | depends on HAS_IOMEM | ||
178 | help | 179 | help |
179 | Core support for the ADC block found in the Samsung EXYNOS series | 180 | Core support for the ADC block found in the Samsung EXYNOS series |
180 | of SoCs for drivers such as the touchscreen and hwmon to use to share | 181 | of SoCs for drivers such as the touchscreen and hwmon to use to share |
@@ -207,6 +208,7 @@ config INA2XX_ADC | |||
207 | config IMX7D_ADC | 208 | config IMX7D_ADC |
208 | tristate "IMX7D ADC driver" | 209 | tristate "IMX7D ADC driver" |
209 | depends on ARCH_MXC || COMPILE_TEST | 210 | depends on ARCH_MXC || COMPILE_TEST |
211 | depends on HAS_IOMEM | ||
210 | help | 212 | help |
211 | Say yes here to build support for IMX7D ADC. | 213 | Say yes here to build support for IMX7D ADC. |
212 | 214 | ||
@@ -409,6 +411,7 @@ config TWL6030_GPADC | |||
409 | config VF610_ADC | 411 | config VF610_ADC |
410 | tristate "Freescale vf610 ADC driver" | 412 | tristate "Freescale vf610 ADC driver" |
411 | depends on OF | 413 | depends on OF |
414 | depends on HAS_IOMEM | ||
412 | select IIO_BUFFER | 415 | select IIO_BUFFER |
413 | select IIO_TRIGGERED_BUFFER | 416 | select IIO_TRIGGERED_BUFFER |
414 | help | 417 | help |