gpio: htc-egpio: enable building with COMPILE_TEST=y
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:13:18 +0000 (09:13 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 17 Apr 2025 11:58:54 +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/20250407-gpiochip-set-rv-gpio-part1-v1-9-78399683ca38@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/Kconfig

index 975cc95be54255ef5953bc61a8f7a7f174ea2626..12baf7805d7eed7dcea69dc2cd6f1b6a858dd549 100644 (file)
@@ -1377,7 +1377,7 @@ config GPIO_DLN2
 
 config HTC_EGPIO
        bool "HTC EGPIO support"
-       depends on ARM
+       depends on ARM || COMPILE_TEST
        help
          This driver supports the CPLD egpio chip present on
          several HTC phones.  It provides basic support for input