Skip to content

Commit 121875b

Browse files
committed
iio:adc:stm32-adc: Add HAS_IOMEM dependency
Seems that there are config combinations in which this driver gets enabled and hence selects the MFD, but with out HAS_IOMEM getting pulled in via some other route. MFD is entirely contained in an if HAS_IOMEM block, leading to the build issue in this bugzilla. https://bugzilla.kernel.org/show_bug.cgi?id=209889 Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a71266e commit 121875b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iio/adc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ config STM32_ADC_CORE
925925
depends on ARCH_STM32 || COMPILE_TEST
926926
depends on OF
927927
depends on REGULATOR
928+
depends on HAS_IOMEM
928929
select IIO_BUFFER
929930
select MFD_STM32_TIMERS
930931
select IIO_STM32_TIMER_TRIGGER

0 commit comments

Comments
 (0)