diff options
author | Laurent Pinchart <[email protected]> | 2013-03-10 03:19:44 +0100 |
---|---|---|
committer | Simon Horman <[email protected]> | 2013-04-03 10:30:36 +0900 |
commit | ceef91dcc0bca0a39c54d2f0071848b6d5c66b88 (patch) | |
tree | 63d55c592e2fb2e47b1a0bd32d131d828c933fa8 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 1a4fd58f76cf331c93daaa1667daa25db297d0d4 (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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions