]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
gpio: provide stubs for devres gpio functions
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 25 Oct 2013 10:59:05 +0000 (12:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Oct 2013 01:26:14 +0000 (18:26 -0700)
commit403c1d0be5ccbd750d25c59d8358843a81e52e3b
treeee0bafd365c5a3e16ab8fec02d89c94a584230f0
parent3c2c628f82a2c48c0d684dbf63b6a4765e784444
gpio: provide stubs for devres gpio functions

commit 6b3d8145dcfdbbb43f13544e16f44f4574f941dd
"gpiolib: make GPIO_DEVRES depend on GPIOLIB"
breaks builds when device drivers are using devm_gpio*
devres functions without enabling GPIOLIB, relying on
the devres code to be compiled anyway.

Provide stubs so that we get these if we're using the
devres functions without GPIOLIB.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio.h