counter: fix dependency references for config MICROCHIP_TCB_CAPTURE

Message ID 20230118074659.5909-1-lukas.bulwahn@gmail.com
State New
Headers
Series counter: fix dependency references for config MICROCHIP_TCB_CAPTURE |

Commit Message

Lukas Bulwahn Jan. 18, 2023, 7:46 a.m. UTC
  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")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/counter/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

William Breathitt Gray Jan. 18, 2023, 3:02 p.m. UTC | #1
On Wed, Jan 18, 2023 at 08:46:59AM +0100, Lukas Bulwahn wrote:
> 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")
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
> ---
>  drivers/counter/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
> index 90602536fb13..b5ba8fb02cf7 100644
> --- a/drivers/counter/Kconfig
> +++ b/drivers/counter/Kconfig
> @@ -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
> -- 
> 2.17.1

Applied to counter-next.

William Breathitt Gray
  

Patch

diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index 90602536fb13..b5ba8fb02cf7 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -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