提交 de7e78dd 编写于 作者: J Jonathan Cameron 提交者: Zheng Zengkai

iio:adc:stm32-adc: Add HAS_IOMEM dependency

stable inclusion
from stable-5.10.26
commit 3ce2e7b2d3605c7113b322509fcedbfb81b5e496
bugzilla: 51363

--------------------------------

commit 121875b2 upstream.

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: NJonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210124195034.22576-1-jic23@kernel.orgSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NChen Jun <chenjun102@huawei.com>
Acked-by: N  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 162af724
...@@ -912,6 +912,7 @@ config STM32_ADC_CORE ...@@ -912,6 +912,7 @@ config STM32_ADC_CORE
depends on ARCH_STM32 || COMPILE_TEST depends on ARCH_STM32 || COMPILE_TEST
depends on OF depends on OF
depends on REGULATOR depends on REGULATOR
depends on HAS_IOMEM
select IIO_BUFFER select IIO_BUFFER
select MFD_STM32_TIMERS select MFD_STM32_TIMERS
select IIO_STM32_TIMER_TRIGGER select IIO_STM32_TIMER_TRIGGER
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册