Skip to contentSkip to conversation

counter: fix dependency references for config MICROCHIP_TCB_CAPTURE

PATCH Applied Lukas Bulwahn 2 participants 2 messages Jan 18, 2023

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

PATCH 1/1 counter: fix dependency references for config MICROCHIP_TCB_CAPTURE

Commit dfeef15e73ca ("counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver") intends to add appropriate dependencies for the config MICROCHIP_TCB_CAPTURE. It however prefixes the intended configs with CONFIG, but in Kconfig files in contrast to source files, the configs are referenced to without prefixing them with CONFIG.

Fix the dependency references due to this minor misconception.

Fixes dfeef15e73ca ("counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver")
---
 drivers/counter/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/counter/Kconfig +1 -1
index 90602536fb13..b5ba8fb02cf7 100644
@@ -63,7 +63,7 @@ config INTERRUPT_CNT
 
 config MICROCHIP_TCB_CAPTURE
 	tristate "Microchip Timer Counter Capture driver"
-	depends on CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAM_V7 || COMPILE_TEST
+	depends on SOC_AT91SAM9 || SOC_SAM_V7 || COMPILE_TEST
 	depends on HAS_IOMEM && OF
 	select REGMAP_MMIO
 	help
Signature · 1 line
2.17.1
#1 lore raw
Quoted 29 lines · Lukas Bulwahn

Commit dfeef15e73ca ("counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver") intends to add appropriate dependencies for the config MICROCHIP_TCB_CAPTURE. It however prefixes the intended configs with CONFIG, but in Kconfig files in contrast to source files, the configs are referenced to without prefixing them with CONFIG.

Fix the dependency references due to this minor misconception.

Fixes dfeef15e73ca ("counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver")
---
 drivers/counter/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/counter/Kconfig +1 -1
index 90602536fb13..b5ba8fb02cf7 100644
@@ -63,7 +63,7 @@ config INTERRUPT_CNT
 
 config MICROCHIP_TCB_CAPTURE
 	tristate "Microchip Timer Counter Capture driver"
-	depends on CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAM_V7 || COMPILE_TEST
+	depends on SOC_AT91SAM9 || SOC_SAM_V7 || COMPILE_TEST
 	depends on HAS_IOMEM && OF
 	select REGMAP_MMIO
 	help
Signature · 1 line
2.17.1

Applied to counter-next.

William Breathitt Gray