summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/imx2_wdt.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-05-05 18:32:42 +0200
committerWim Van Sebroeck <wim@iguana.be>2015-06-22 15:54:24 +0200
commit21a926a340723035b5c569046056d65f80013e12 (patch)
tree414068a5dda343c614cd37fdf33537457330ad28 /drivers/watchdog/imx2_wdt.c
parentwatchdog: cadence: Add dependency on HAS_IOMEM (diff)
downloadlinux-21a926a340723035b5c569046056d65f80013e12.tar.xz
linux-21a926a340723035b5c569046056d65f80013e12.zip
watchdog: Allow compile test of GPIO consumers if !GPIOLIB
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> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: linux-watchdog@vger.kernel.org
Diffstat (limited to 'drivers/watchdog/imx2_wdt.c')
0 files changed, 0 insertions, 0 deletions