summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Havelange2019-06-04 16:03:26 +0200
committerJonathan Cameron2019-06-08 14:07:41 +0200
commit0c75376fa3950b9875559dd79f73c36a5498a969 (patch)
tree6f33d6dfc8c5c0b70b25ae290ce163d0db4556c0
parentstaging: iio: adt7316: Fix build errors when GPIOLIB is not set (diff)
downloadkernel-qcow2-linux-0c75376fa3950b9875559dd79f73c36a5498a969.tar.gz
kernel-qcow2-linux-0c75376fa3950b9875559dd79f73c36a5498a969.tar.xz
kernel-qcow2-linux-0c75376fa3950b9875559dd79f73c36a5498a969.zip
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 <lkp@intel.com> Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> Fixes: a3b9a99 ("counter: add FlexTimer Module Quadrature decoder counter driver") Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/counter/Kconfig1
1 files changed, 1 insertions, 0 deletions
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.