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>
This commit is contained in:
parent
767e52f045
commit
0c75376fa3
@ -50,6 +50,7 @@ config STM32_LPTIMER_CNT
|
|||||||
|
|
||||||
config FTM_QUADDEC
|
config FTM_QUADDEC
|
||||||
tristate "Flex Timer Module Quadrature decoder driver"
|
tristate "Flex Timer Module Quadrature decoder driver"
|
||||||
|
depends on HAS_IOMEM && OF
|
||||||
help
|
help
|
||||||
Select this option to enable the Flex Timer Quadrature decoder
|
Select this option to enable the Flex Timer Quadrature decoder
|
||||||
driver.
|
driver.
|
||||||
|
Loading…
Reference in New Issue
Block a user