From: Patrick Havelange Date: Tue, 4 Jun 2019 14:03:26 +0000 (+0200) Subject: counter/ftm-quaddec: Add missing dependencies in Kconfig X-Git-Tag: v5.2-rc6~12^2~1^2 X-Git-Url: https://repo.jachan.dev/linux.git/commitdiff_plain/0c75376fa3950b9875559dd79f73c36a5498a969 counter/ftm-quaddec: Add missing dependencies in Kconfig This driver uses devm_ioremap and of* functions. This fixes a linking failure with e.g. ARCH=um. Reported-by: kbuild test robot Signed-off-by: Patrick Havelange Fixes: a3b9a99 ("counter: add FlexTimer Module Quadrature decoder counter driver") Signed-off-by: William Breathitt Gray Signed-off-by: Jonathan Cameron --- diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 233ac305d878..c9e3f5c98484 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -50,6 +50,7 @@ config STM32_LPTIMER_CNT config FTM_QUADDEC tristate "Flex Timer Module Quadrature decoder driver" + depends on HAS_IOMEM && OF help Select this option to enable the Flex Timer Quadrature decoder driver.