From: Peter Robinson Date: Sun, 8 Jan 2023 07:47:50 +0000 (+0000) Subject: counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dfeef15e73ca;p=linux.git counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver 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 Link: https://lore.kernel.org/r/20230108074750.443705-4-pbrobinson@gmail.com/ Signed-off-by: William Breathitt Gray --- diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index ef78386ccd2e0..90602536fb13f 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -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