From: Geert Uytterhoeven Date: Mon, 11 Jul 2022 08:36:35 +0000 (+0200) Subject: gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b06d7b458a6eace1cebd0c1e4a235407824125e8;p=linux.git gpio: GPIO_SAMA5D2_PIOBU should depend on ARCH_AT91 The SAMA5D2 PIOBU is only present on some AT91/Microchip SoCs. Hence add a dependency on ARCH_AT91, to prevent asking the user about this driver when configuring a kernel without AT91/Microchip SoC support. Signed-off-by: Geert Uytterhoeven Acked-by: Nicolas Ferre Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b01961999ced0..1d9316cecacd2 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -544,6 +544,7 @@ config GPIO_SAMA5D2_PIOBU tristate "SAMA5D2 PIOBU GPIO support" depends on MFD_SYSCON depends on OF_GPIO + depends on ARCH_AT91 || COMPILE_TEST select GPIO_SYSCON help Say yes here to use the PIOBU pins as GPIOs.