From: Geert Uytterhoeven Date: Thu, 7 May 2015 08:08:10 +0000 (-0700) Subject: leds: leds-gpio: Allow compile test if !GPIOLIB X-Git-Tag: omap-for-v4.2/fixes-rc1^2~51^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab1963d83fd5709037f2ef62cfe0062c538fe83;p=pandora-kernel.git leds: leds-gpio: Allow compile test 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 of LEDS_GPIO on GPIOLIB if COMPILE_TEST is enabled. Signed-off-by: Geert Uytterhoeven Acked-by: Jacek Anaszewski Acked-by: Linus Walleij Signed-off-by: Bryan Wu --- Reading git-diff-tree failed