summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorLaurent Pinchart2013-03-10 03:19:44 +0100
committerSimon Horman2013-04-03 03:30:36 +0200
commitceef91dcc0bca0a39c54d2f0071848b6d5c66b88 (patch)
tree63d55c592e2fb2e47b1a0bd32d131d828c933fa8 /arch/arm/mach-shmobile
parentsh-pfc: Make GPIO support optional (diff)
downloadkernel-qcow2-linux-ceef91dcc0bca0a39c54d2f0071848b6d5c66b88.tar.gz
kernel-qcow2-linux-ceef91dcc0bca0a39c54d2f0071848b6d5c66b88.tar.xz
kernel-qcow2-linux-ceef91dcc0bca0a39c54d2f0071848b6d5c66b88.zip
sh-pfc: Skip gpiochip registration when no GPIO resource is found
Boards/platforms that register dedicated GPIO devices will not supply a memory resource for GPIOs. Try to locate the GPIO memory resource at initialization time, and skip registration of the gpiochip if the resource can't be found. This is a temporary modification to ease the transition to separate GPIO drivers. It should be reverted when all boards and platforms will have been moved. 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 'arch/arm/mach-shmobile')
0 files changed, 0 insertions, 0 deletions