Skip to contentSkip to conversation

counter/ftm-quaddec: Add missing dependencies in Kconfig

PATCH Applied Patrick Havelange 3 participants 3 messages Jun 4, 2019 – Jun 8, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/counter/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/counter/Kconfig +1 -0
index 233ac305d878..c9e3f5c98484 100644
@@ -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.
Signature · 1 line
2.19.1
#1 lore raw
Quoted 23 lines · Patrick Havelange

This driver uses devm_ioremap and of* functions. This fixes a linking failure with e.g. ARCH=um.

---
 drivers/counter/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/counter/Kconfig +1 -0
index 233ac305d878..c9e3f5c98484 100644
@@ -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.
Signature · 1 line
2.19.1
Fixes a3b9a99 ("counter: add FlexTimer Module Quadrature decoder counter driver")

Jonathan, would you pick this up through IIO?

Patrick, I noticed the FlexTimer Module Quadrature decoder driver is missing an entry in MAINTAINERS. Please submit an additional patch to address that as well so that we'll have a point of contact listed for this driver.

Thanks,

William Breathit Gray

#2 lore raw
Quoted 28 lines · On Wed, 5 Jun 2019 00:11:15 +0900 William Breathitt Gray…
Quoted 23 lines · Patrick Havelange

This driver uses devm_ioremap and of* functions. This fixes a linking failure with e.g. ARCH=um.

---
 drivers/counter/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/counter/Kconfig +1 -0
index 233ac305d878..c9e3f5c98484 100644
@@ -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.
Signature · 1 line
2.19.1  
Fixes a3b9a99 ("counter: add FlexTimer Module Quadrature decoder counter driver")
Quoted 1 line

Jonathan, would you pick this up through IIO?

Sure,

Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan

Quoted 9 lines

Patrick, I noticed the FlexTimer Module Quadrature decoder driver is missing an entry in MAINTAINERS. Please submit an additional patch to address that as well so that we'll have a point of contact listed for this driver.

Thanks,

William Breathit Gray