]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpio: rtd: enable building the module with COMPILE_TEST=y
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 12:59:04 +0000 (14:59 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 17 Apr 2025 11:58:55 +0000 (13:58 +0200)
Extend the build coverage by allowing to build the module with
COMPILE_TEST enabled.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250408-gpio-compile-test-v1-4-140e108e9392@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/Kconfig

index f0de782c04cc3d56b0a42c6edc50418379917a3d..1691580896087510baa1b6abc611a2dd72e52cab 100644 (file)
@@ -615,7 +615,7 @@ config GPIO_ROCKCHIP
 
 config GPIO_RTD
        tristate "Realtek DHC GPIO support"
-       depends on ARCH_REALTEK
+       depends on ARCH_REALTEK || COMPILE_TEST
        default y
        select GPIOLIB_IRQCHIP
        help