sh: pfc: Ignore pinmux GPIOs with invalid enum IDs.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 17 Jul 2012 06:23:11 +0000 (15:23 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 17 Jul 2012 06:23:11 +0000 (15:23 +0900)
commite3e79454a7c81a5e48c6d6b31068b12936e7d780
treeeaa8ec6eef0f4cc6ef15aba7bfcac5e0d7d7fd91
parent1acbbb4ed846ec6a546834c86a3bd4a5bad4ee4d
sh: pfc: Ignore pinmux GPIOs with invalid enum IDs.

If we encounter invalid entries in the pinmux GPIO range, make sure we've
still got a dummy pin definition but don't otherwise map it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/pfc/pinctrl.c