linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ
@ 2012-12-02 15:44 Andrew Lunn
  2012-12-03 23:01 ` Linus Walleij
  2013-01-06 17:37 ` Jason Cooper
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Lunn @ 2012-12-02 15:44 UTC (permalink / raw)
  To: linux-arm-kernel

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@1wt.eu>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Willy Tarreau <w@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
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ
  2012-12-02 15:44 [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ Andrew Lunn
@ 2012-12-03 23:01 ` Linus Walleij
  2013-01-06 17:37 ` Jason Cooper
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2012-12-03 23:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Dec 2, 2012 at 4:44 PM, Andrew Lunn <andrew@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@1wt.eu>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Tested-by: Willy Tarreau <w@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@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ
  2012-12-02 15:44 [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ Andrew Lunn
  2012-12-03 23:01 ` Linus Walleij
@ 2013-01-06 17:37 ` Jason Cooper
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Cooper @ 2013-01-06 17:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Dec 02, 2012 at 04:44:59PM +0100, Andrew Lunn 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@1wt.eu>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> Tested-by: Willy Tarreau <w@1wt.eu>
> ---
>  drivers/gpio/Kconfig |    1 +
>  1 file changed, 1 insertion(+)

I believe this was superceded by:

bc1008c gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG

by Gregory.

thx,

Jason.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-06 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-02 15:44 [PATCH] GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ Andrew Lunn
2012-12-03 23:01 ` Linus Walleij
2013-01-06 17:37 ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).