Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev: 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

authored by

Geert Uytterhoeven and committed by
Tomi Valkeinen
71540cfb 6080a893

+1 -1
+1 -1
drivers/video/fbdev/Kconfig
··· 2464 2464 tristate "Solomon SSD1307 framebuffer support" 2465 2465 depends on FB && I2C 2466 2466 depends on OF 2467 - depends on GPIOLIB 2467 + depends on GPIOLIB || COMPILE_TEST 2468 2468 select FB_SYS_FOPS 2469 2469 select FB_SYS_FILLRECT 2470 2470 select FB_SYS_COPYAREA