lkml.org 
[lkml]   [2019]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] counter: ftm-quaddec: needs HAS_IOMEM
Date
the driver fails for UML with:
drivers/counter/ftm-quaddec.c:301: undefined reference to `devm_ioremap'

Fix it by depending on HAS_IOMEM
---
drivers/counter/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index 138ecd8a8fbd..6298344b536b 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -50,6 +50,7 @@ config STM32_LPTIMER_CNT
module will be called stm32-lptimer-cnt.

config FTM_QUADDEC
+ depends on HAS_IOMEM
tristate "Flex Timer Module Quadrature decoder driver"
help
Select this option to enable the Flex Timer Quadrature decoder
--
2.21.0
\
 
 \ /
  Last update: 2019-06-01 23:39    [W:0.032 / U:30.840 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site