diff options
author | 2013-11-16 21:44:52 +0900 | |
---|---|---|
committer | 2013-11-25 09:03:12 +0100 | |
commit | 53e7cac35db5941f42221314c33693e71ffa496b (patch) | |
tree | 1df9f325363d80e37a424a3f7e37f49533b9a975 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: fix find_chip_by_name() (diff) | |
download | linux-dev-53e7cac35db5941f42221314c33693e71ffa496b.tar.xz linux-dev-53e7cac35db5941f42221314c33693e71ffa496b.zip |
gpiolib: use dedicated flags for GPIO properties
GPIO mapping properties were defined using the GPIOF_* flags, which are
declared in linux/gpio.h. This file is not included when using the
GPIO descriptor interface.
This patch declares the flags that can be used as GPIO mappings
properties in linux/gpio/driver.h, and uses them in gpiolib, so that no
deprecated declarations are used by the GPIO descriptor interface.
This patch also allows GPIO_OPEN_DRAIN and GPIO_OPEN_SOURCE to be
specified as GPIO mapping properties.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions