summaryrefslogtreecommitdiff
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-09-01 15:15:40 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-09-02 10:09:43 +0200
commit0dbc8b7afef6e4fddcfebcbacbeb269a0a3b06d5 (patch)
treecc5e15bf4969b3a2f78724249d121fed0af2eeef /lib/dec_and_lock.c
parent7cc01f630a967b25d9de200767b42177e4fa0bac (diff)
gpio: move varargs hack outside #ifdef GPIOLIBgpio-v3.17-3
commit 39b2bbe3d715cf5013b5c48695ccdd25bd3bf120 "gpio: add flags argument to gpiod_get*() functions" added a dynamic flags argument to all the GPIOD getter functions, however this did not cover the stubs so when people used gpiod stubs to compile out descriptor code, compilation failed. Solve this by: - Also rename all the stub functions __gpiod_* - Moving the vararg hack outside of #ifdef CONFIG_GPIOLIB so these will always be available. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions