counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 8 Jan 2023 07:47:50 +0000 (07:47 +0000)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Fri, 13 Jan 2023 20:05:56 +0000 (15:05 -0500)
Add the CONFIG_SOC_AT91SAM9 and CONFIG_SOC_SAM_V7 deps for the
Microchip SoCs that support this IP block/driver plus compile
time testing.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20230108074750.443705-4-pbrobinson@gmail.com/
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
drivers/counter/Kconfig

index ef78386ccd2e0805f1a6affe4efae668da9001a9..90602536fb13f6c570980f012f24982d2bb7e04f 100644 (file)
@@ -63,6 +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 HAS_IOMEM && OF
        select REGMAP_MMIO
        help