]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
counter: fix dependency references for config MICROCHIP_TCB_CAPTURE
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 18 Jan 2023 07:46:59 +0000 (08:46 +0100)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Wed, 18 Jan 2023 14:59:58 +0000 (09:59 -0500)
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>
Link: https://lore.kernel.org/r/20230118074659.5909-1-lukas.bulwahn@gmail.com/
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
drivers/counter/Kconfig

index 90602536fb13f6c570980f012f24982d2bb7e04f..b5ba8fb02cf7271bd287ddc4430ae7845d3c46a7 100644 (file)
@@ -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