diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2012-12-15 23:50:41 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-01-25 09:24:20 +0900 |
commit | e62ebcdbce9eff4dc48168e86960c0dfcba086ea (patch) | |
tree | 628feeea979bad5b2703644f1d578f8b1ffc0bd7 /Documentation/prctl | |
parent | 451d0a9044bb3272c454f4ddb0e389dc49a6d9ba (diff) | |
download | blackbird-op-linux-e62ebcdbce9eff4dc48168e86960c0dfcba086ea.tar.gz blackbird-op-linux-e62ebcdbce9eff4dc48168e86960c0dfcba086ea.zip |
sh: shx3: Fix last GPIO index
A careless look at the code shows that the last entry in the
pinmux_gpios seems to be GPIO_FN_IRQOUT. However, entries are ordered by
the GPIO number, as the PINMUX_GPIO macro is expended to an indexed
array initializer. The last entry in the array is thus GPIO_FN_STATUS0.
Set the pinmux_info last_gpio field accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'Documentation/prctl')
0 files changed, 0 insertions, 0 deletions