[PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ
Linus Walleij
linus.walleij at linaro.org
Mon Dec 3 18:01:17 EST 2012
On Sun, Dec 2, 2012 at 4:44 PM, Andrew Lunn <andrew at lunn.ch> wrote:
> This driver only builds when CONFIG_OF_IRQ is enabled. So add this as
> a dependency. Dockstar, and other none DT boards don't build because
> of this, when all other OF boards are disabled.
>
> Reported-by: Willy Tarreau <w at 1wt.eu>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> Tested-by: Willy Tarreau <w at 1wt.eu>
> ---
> drivers/gpio/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 6dbc403..4d84c17 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -153,6 +153,7 @@ config GPIO_MSM_V2
> config GPIO_MVEBU
> def_bool y
> depends on PLAT_ORION
> + depends on OF_IRQ
> select GPIO_GENERIC
> select GENERIC_IRQ_CHIP
This does not apply to the GPIO tree, I assume it's intended for the
MVEBU tree.
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list