diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-01 06:30:04 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-03 21:04:05 +1100 |
commit | b908b53d580c3e9aba81ebe3339c5b7b4fa8031d (patch) | |
tree | c2a07833cd919f185e750391d2a8c5bd3bec827a /drivers/char/hvc_vio.c | |
parent | 2fd091f3eebc5accefa5f77ff04436982765d15c (diff) |
of/gpio: Implement of_get_gpio_flags()
This adds a new function, of_get_gpio_flags, which is like
of_get_gpio(), but accepts a new "flags" argument. This new function
will be used by the drivers that need to retrieve additional GPIO
information, such as active-low flag.
Also, this changes the default ("simple") .xlate routine to warn about
bogus (< 2) #gpio-cells usage: the second cell should always be present
for GPIO flags.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/hvc_vio.c')
0 files changed, 0 insertions, 0 deletions