All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB
@ 2013-05-13  8:53 ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2013-05-13  8:53 UTC (permalink / raw)
  To: linux-arm-kernel

CONFIG_SUNXI currently doesn't enable a gpiolib, which causes build
problems when building a kernel with only the sunxi platform enabled.
Select ARCH_REQUIRE_GPIOLIB to solve this.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/mach-sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index d259c78..5b045e3 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,5 +1,6 @@
 config ARCH_SUNXI
 	bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
+	select ARCH_REQUIRE_GPIOLIB
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	select COMMON_CLK
-- 
1.8.1.2

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

* [PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB
@ 2013-05-13  8:53 ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2013-05-13  8:53 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: linux-kernel, Maxime Ripard

CONFIG_SUNXI currently doesn't enable a gpiolib, which causes build
problems when building a kernel with only the sunxi platform enabled.
Select ARCH_REQUIRE_GPIOLIB to solve this.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/mach-sunxi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index d259c78..5b045e3 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,5 +1,6 @@
 config ARCH_SUNXI
 	bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
+	select ARCH_REQUIRE_GPIOLIB
 	select CLKSRC_MMIO
 	select CLKSRC_OF
 	select COMMON_CLK
-- 
1.8.1.2


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

* [PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB
  2013-05-13  8:53 ` Maxime Ripard
@ 2013-05-13 19:54   ` Emilio López
  -1 siblings, 0 replies; 4+ messages in thread
From: Emilio López @ 2013-05-13 19:54 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Maxime,

El 13/05/13 05:53, Maxime Ripard escribi?:
> CONFIG_SUNXI currently doesn't enable a gpiolib, which causes build
> problems when building a kernel with only the sunxi platform enabled.
> Select ARCH_REQUIRE_GPIOLIB to solve this.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  arch/arm/mach-sunxi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index d259c78..5b045e3 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -1,5 +1,6 @@
>  config ARCH_SUNXI
>  	bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
> +	select ARCH_REQUIRE_GPIOLIB
>  	select CLKSRC_MMIO
>  	select CLKSRC_OF
>  	select COMMON_CLK
> 

Tested-by: Emilio L?pez <emilio@elopez.com.ar>

This fixes the build breakage I was seeing.

Thanks!

Emilio

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

* Re: [PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB
@ 2013-05-13 19:54   ` Emilio López
  0 siblings, 0 replies; 4+ messages in thread
From: Emilio López @ 2013-05-13 19:54 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: linux-arm-kernel, linux-kernel

Hi Maxime,

El 13/05/13 05:53, Maxime Ripard escribió:
> CONFIG_SUNXI currently doesn't enable a gpiolib, which causes build
> problems when building a kernel with only the sunxi platform enabled.
> Select ARCH_REQUIRE_GPIOLIB to solve this.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  arch/arm/mach-sunxi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index d259c78..5b045e3 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -1,5 +1,6 @@
>  config ARCH_SUNXI
>  	bool "Allwinner A1X SOCs" if ARCH_MULTI_V7
> +	select ARCH_REQUIRE_GPIOLIB
>  	select CLKSRC_MMIO
>  	select CLKSRC_OF
>  	select COMMON_CLK
> 

Tested-by: Emilio López <emilio@elopez.com.ar>

This fixes the build breakage I was seeing.

Thanks!

Emilio

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

end of thread, other threads:[~2013-05-13 19:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13  8:53 [PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB Maxime Ripard
2013-05-13  8:53 ` Maxime Ripard
2013-05-13 19:54 ` Emilio López
2013-05-13 19:54   ` Emilio López

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.