2023-01-18 08:29:02

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] 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")
Signed-off-by: Lukas Bulwahn <[email protected]>
---
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


2023-01-18 15:41:57

by William Breathitt Gray

[permalink] [raw]
Subject: Re: [PATCH] counter: fix dependency references for config MICROCHIP_TCB_CAPTURE

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 <[email protected]>
> ---
> 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


Attachments:
(No filename) (1.30 kB)
signature.asc (235.00 B)
Download all attachments