These patches fix a few issues of the gpiod series highlighted by the autobuild system. They take root in the fact that devres.c was compiled even when gpiolib is not to be built, which should obviously not happen. But they also reveal missing includes in the same file, and sparse also pointed out a suspiscious line that happened to be completely wrong.
Patch 1/3 and 2/3 can be applied on their own, but would probably better be squashed into bae48da2 "add gpiod_get() and gpiod_put() functions". Patch 3/3 stands on its own, and should preferably be applied before the rest of the gpiod series. It would not hurt to apply it after if 1/3 and 2/3 are properly squashed. Apologies for these issues that could have been caught earlier had I been less negligent. Alexandre Courbot (3): gpiolib: devres: fix devm_gpiod_get_index() gpiolib: devres: add missing headers gpiolib: make GPIO_DEVRES depend on GPIOLIB drivers/gpio/Kconfig | 8 ++++---- drivers/gpio/devres.c | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) -- 1.8.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/