]> Git Repo - linux.git/commitdiff
counter/ftm-quaddec: Add missing dependencies in Kconfig
authorPatrick Havelange <[email protected]>
Tue, 4 Jun 2019 14:03:26 +0000 (16:03 +0200)
committerJonathan Cameron <[email protected]>
Sat, 8 Jun 2019 12:07:41 +0000 (13:07 +0100)
This driver uses devm_ioremap and of* functions. This fixes a
linking failure with e.g. ARCH=um.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Patrick Havelange <[email protected]>
Fixes: a3b9a99 ("counter: add FlexTimer Module Quadrature decoder counter driver")
Signed-off-by: William Breathitt Gray <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/counter/Kconfig

index 233ac305d87845db3fb5f8840ee64ef1bb5a708f..c9e3f5c98484477a8494f7afea46dedb0e0b1613 100644 (file)
@@ -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.
This page took 0.056609 seconds and 4 git commands to generate.