Re: [PATCH 3/3] leds: leds-gpio: Allow compile test if !GPIOLIB

2015-05-12 Thread Bryan Wu
On Tue, May 12, 2015 at 3:23 AM, Linus Walleij wrote: > On Thu, May 7, 2015 at 10:08 AM, 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

Re: [PATCH 3/3] leds: leds-gpio: Allow compile test if !GPIOLIB

2015-05-12 Thread Linus Walleij
On Thu, May 7, 2015 at 10:08 AM, 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 depe

Re: [PATCH 3/3] leds: leds-gpio: Allow compile test if !GPIOLIB

2015-05-07 Thread Jacek Anaszewski
On 05/07/2015 10:08 AM, 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 of LEDS_GPI

[PATCH 3/3] leds: leds-gpio: Allow compile test if !GPIOLIB

2015-05-07 Thread Geert Uytterhoeven
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