]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: davinci: allow building the module with COMPILE_TEST=y
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Oct 2024 10:34:39 +0000 (12:34 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 08:28:39 +0000 (10:28 +0200)
commit56d6ff4b8faf1c2d5c850ed8b4e5dfa6cd81413b
treef219daf84943a8426af815657ddff1c6baf1a815
parent16de489e3a3009e027a86858bfd645126d391502
gpio: davinci: allow building the module with COMPILE_TEST=y

Make it possible to build the module when COMPILE_TEST is enabled for
better build coverage. Stop using of_match_ptr() to avoid build warnings.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241007103440.38416-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-davinci.c