2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/drivers/sh/pfc
Laurent Pinchart 6f6a4a683b sh-pfc: Merge PFC core and gpio
The PFC core calls the gpio module gpiochip registration in its
register_sh_pfc() function, itself called at arch initialization time.
If the gpio module isn't present then the gpiochip will never be
registered.

As the gpio module can only be present at arch initialization time if
it's builtin, there's no point in allowing to build it as a module. Make
it a boolean option, and initialize it synchronously with the core if
selected.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2013-01-25 09:24:21 +09:00
..
core.c sh-pfc: Merge PFC core and gpio 2013-01-25 09:24:21 +09:00
core.h sh-pfc: Merge PFC core and gpio 2013-01-25 09:24:21 +09:00
gpio.c sh-pfc: Merge PFC core and gpio 2013-01-25 09:24:21 +09:00
Kconfig sh-pfc: Merge PFC core and gpio 2013-01-25 09:24:21 +09:00
Makefile sh-pfc: Merge PFC core and gpio 2013-01-25 09:24:21 +09:00
pinctrl.c sh-pfc: Merge PFC core and pinctrl 2013-01-25 09:24:21 +09:00