* [PATCH 26/27] watchdog: Allow compile test of GPIO consumers if !GPIOLIB [not found] ` <1430843563-18615-1-git-send-email-geert@linux-m68k.org> @ 2015-05-05 16:32 ` Geert Uytterhoeven 2015-05-05 19:31 ` Guenter Roeck 0 siblings, 1 reply; 2+ messages in thread From: Geert Uytterhoeven @ 2015-05-05 16:32 UTC (permalink / raw) To: Linus Walleij, Alexandre Courbot, Arnd Bergmann Cc: linux-gpio, linux-kernel, Geert Uytterhoeven, Wim Van Sebroeck, linux-watchdog The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where appropriate. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: linux-watchdog@vger.kernel.org --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index e5e7c5505de7dc8f..d0f03ee22425011f 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1343,7 +1343,7 @@ config BOOKE_WDT_DEFAULT_TIMEOUT config MEN_A21_WDT tristate "MEN A21 VME CPU Carrier Board Watchdog Timer" select WATCHDOG_CORE - depends on GPIOLIB + depends on GPIOLIB || COMPILE_TEST help Watchdog driver for MEN A21 VMEbus CPU Carrier Boards. -- 1.9.1 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 26/27] watchdog: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-05 16:32 ` [PATCH 26/27] watchdog: Allow compile test of GPIO consumers if !GPIOLIB Geert Uytterhoeven @ 2015-05-05 19:31 ` Guenter Roeck 0 siblings, 0 replies; 2+ messages in thread From: Guenter Roeck @ 2015-05-05 19:31 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Linus Walleij, Alexandre Courbot, Arnd Bergmann, linux-gpio, linux-kernel, Wim Van Sebroeck, linux-watchdog On Tue, May 05, 2015 at 06:32:42PM +0200, Geert Uytterhoeven wrote: > The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is > not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer > functionality only, can still be compiled if GPIOLIB is not enabled. > > Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where > appropriate. > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > Cc: Wim Van Sebroeck <wim@iguana.be> > Cc: linux-watchdog@vger.kernel.org Reviewed-by: Guenter Roeck <linux@roeck-us.net> ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-05 19:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1430836404-15513-1-git-send-email-geert@linux-m68k.org>
[not found] ` <1430843563-18615-1-git-send-email-geert@linux-m68k.org>
2015-05-05 16:32 ` [PATCH 26/27] watchdog: Allow compile test of GPIO consumers if !GPIOLIB Geert Uytterhoeven
2015-05-05 19:31 ` Guenter Roeck
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox