On Tue, May 5, 2015 at 4:33 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > Hi all, > > 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. > > This patch series relaxes the dependencies on GPIOLIB if COMPILE_TEST is > enabled, where appropriate: > - Patches 1-2 add missing dependencies on GPIOLIB || COMPILE_TEST, > - Patches 3-27 relax existing dependencies on GPIOLIB. > In some cases (patches 1,2, and 4), this required adding a missing > include (<linux/gpio/consumer.h>), as this may not be included if > asm-generic/gpio.h is not used. > > There are a few more drivers that depend on GPIOLIB and that may be > eligible for COMPILE_TEST. These I didn't handle yet, as I couldn't > enable them with m68k/all{mod,yes}config due to other dependencies. > > This series is against v4.1-rc2 and next-20150505 with the exception of > patch 21, which has an additional dependency (mentioned in the patch > itself, incl. resolution instructions if the dependency isn't > satisified). FWIW: the series: Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html