summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/setup-r8a7779.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-10 03:19:44 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-04-03 10:30:36 +0900
commitceef91dcc0bca0a39c54d2f0071848b6d5c66b88 (patch)
tree63d55c592e2fb2e47b1a0bd32d131d828c933fa8 /arch/arm/mach-shmobile/setup-r8a7779.c
parent1a4fd58f76cf331c93daaa1667daa25db297d0d4 (diff)
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/setup-r8a7779.c')
0 files changed, 0 insertions, 0 deletions