Skip to content

Commit 0165c30

Browse files
richardweinbergerjic23
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 9979e32 commit 0165c30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ config DA9150_GPADC
175175
config EXYNOS_ADC
176176
tristate "Exynos ADC driver support"
177177
depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
178+
depends on HAS_IOMEM
178179
help
179180
Core support for the ADC block found in the Samsung EXYNOS series
180181
of SoCs for drivers such as the touchscreen and hwmon to use to share
@@ -207,6 +208,7 @@ config INA2XX_ADC
207208
config IMX7D_ADC
208209
tristate "IMX7D ADC driver"
209210
depends on ARCH_MXC || COMPILE_TEST
211+
depends on HAS_IOMEM
210212
help
211213
Say yes here to build support for IMX7D ADC.
212214

@@ -409,6 +411,7 @@ config TWL6030_GPADC
409411
config VF610_ADC
410412
tristate "Freescale vf610 ADC driver"
411413
depends on OF
414+
depends on HAS_IOMEM
412415
select IIO_BUFFER
413416
select IIO_TRIGGERED_BUFFER
414417
help

0 commit comments

Comments
 (0)