ARM: shmobile: lager: support GPIO switches
commitc3842e4fcbb7664276443b79187b7808c2e80a35
authorSimon Horman <horms+renesas@verge.net.au>
Mon, 13 May 2013 07:04:31 +0000 (13 16:04 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 7 Jun 2013 05:26:31 +0000 (7 14:26 +0900)
treeb3e5d47adf37a0cfe5d4f53e37ced6f19634c096
parent1034f4ee3f07b7d525c490d702b3dcbee3b56b54
ARM: shmobile: lager: support GPIO switches

The lager board has pins 1 - 4 of SW2 wired up to GPIO pins.
This patch allows access to those pins as KEYS 1 - 4 using
gpio-keys.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c