]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh-pfc: Make GPIO support optional
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 10 Mar 2013 02:19:44 +0000 (03:19 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 27 Mar 2013 05:08:33 +0000 (14:08 +0900)
commit2dd895b37b8848479035ab957f4fdbf5025d48fc
tree97c5c0fca00b7d537471ced563e298b89ee54036
parenta78f0984ccf1f857ca35ec661f9a7b12020ef1c7
sh-pfc: Make GPIO support optional

When implemented as a separate IP block, GPIOs should be handled by a
separate driver. To make this possible GPIO support needs to be optional
in the sh-pfc driver.

If no GPIO data registers are supplied in the SoC information structure
skip registration of the gpiochip.

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>
drivers/pinctrl/sh-pfc/gpio.c