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

From: William Breathitt Gray
Date: Wed Jan 18 2023 - 10:04:26 EST


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@xxxxxxxxx>
> ---
> 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

Attachment: signature.asc
Description: PGP signature