From b5d23fcdb12972c522e96f90ab48be8a0d971b0e Mon Sep 17 00:00:00 2001 From: Yu-Chun Lin Date: Mon, 22 Jun 2026 17:23:33 +0800 Subject: [PATCH] gpio: Replace "default y" with "default ARCH_REALTEK" in Kconfig Replace "default y" with "default ARCH_REALTEK" to avoid bloating the build for non-Realtek platforms when COMPILE_TEST is enabled on other platforms. Signed-off-by: Yu-Chun Lin Link: https://patch.msgid.link/20260622092335.1166876-3-eleanor.lin@realtek.com Signed-off-by: Bartosz Golaszewski --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 28cf6d2e83c2..ed2bc3113374 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -646,7 +646,7 @@ config GPIO_ROCKCHIP config GPIO_RTD tristate "Realtek DHC GPIO support" depends on ARCH_REALTEK || COMPILE_TEST - default y + default ARCH_REALTEK select GPIOLIB_IRQCHIP help This option enables support for GPIOs found on Realtek DHC(Digital