diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-24 19:10:22 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-11 20:46:56 +0000 |
commit | c03e2df6e1d51f4e1252318275007214a3bd8e85 (patch) | |
tree | 0d922cbacd715b831de4e5203b19de3843dece88 /drivers/iio/adc | |
parent | f40e8005305418522eeff217cb72e806eeaa3598 (diff) | |
download | linux-stable-c03e2df6e1d51f4e1252318275007214a3bd8e85.tar.gz linux-stable-c03e2df6e1d51f4e1252318275007214a3bd8e85.tar.bz2 linux-stable-c03e2df6e1d51f4e1252318275007214a3bd8e85.zip |
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: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r-- | drivers/iio/adc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index bf7d22fa4be2..6605c263949c 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -923,6 +923,7 @@ config STM32_ADC_CORE depends on ARCH_STM32 || COMPILE_TEST depends on OF depends on REGULATOR + depends on HAS_IOMEM select IIO_BUFFER select MFD_STM32_TIMERS select IIO_STM32_TIMER_TRIGGER |