diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-09-01 15:15:40 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-09-02 10:09:43 +0200 |
commit | 0dbc8b7afef6e4fddcfebcbacbeb269a0a3b06d5 (patch) | |
tree | cc5e15bf4969b3a2f78724249d121fed0af2eeef /Documentation | |
parent | 7cc01f630a967b25d9de200767b42177e4fa0bac (diff) | |
download | linux-0dbc8b7afef6e4fddcfebcbacbeb269a0a3b06d5.tar.bz2 |
gpio: move varargs hack outside #ifdef GPIOLIB
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 'Documentation')
0 files changed, 0 insertions, 0 deletions