gpio: tn48m: enable building the module with COMPILE_TEST=y
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 12:59:06 +0000 (14:59 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 17 Apr 2025 13:22:05 +0000 (15:22 +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-6-140e108e9392@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/Kconfig

index 1691580896087510baa1b6abc611a2dd72e52cab..e08e2161c1eb46b2b6e233ec814f27c55fcceea3 100644 (file)
@@ -1536,7 +1536,7 @@ config GPIO_TIMBERDALE
 
 config GPIO_TN48M_CPLD
        tristate "Delta Networks TN48M switch CPLD GPIO driver"
-       depends on MFD_TN48M_CPLD
+       depends on MFD_TN48M_CPLD || COMPILE_TEST
        select GPIO_REGMAP
        help
          This enables support for the GPIOs found on the Delta