From: Laurent Pinchart Date: Sat, 15 Dec 2012 22:50:40 +0000 (+0100) Subject: sh: sh7786: Fix last GPIO index X-Git-Tag: v3.9-rc1~121^2~1^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451d0a9044bb3272c454f4ddb0e389dc49a6d9ba;p=pandora-kernel.git sh: sh7786: Fix last GPIO index A careless look at the code shows that the last entry in the pinmux_gpios seems to be GPIO_FN_FSE. 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_IRL4. Set the pinmux_info last_gpio field accordingly. Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij Signed-off-by: Simon Horman --- Reading git-diff-tree failed