diff mbox

mach-h720x: fix build error

Message ID 1308127401-30734-1-git-send-email-linus.walleij@stericsson.com (mailing list archive)
State New, archived
Headers show

Commit Message

Linus Walleij June 15, 2011, 8:43 a.m. UTC
From: Linus Walleij <linus.walleij@linaro.org>

The h7201/h7202 machines did not build since they define
ARM_DMA_ZONE_OFFSET but do not select ZONE_DMA. Fix it up by
selecting ZONE_DMA in their Kconfig.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/mach-h720x/Kconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Sascha Hauer June 16, 2011, 7:32 a.m. UTC | #1
On Wed, Jun 15, 2011 at 10:43:21AM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
> 
> The h7201/h7202 machines did not build since they define
> ARM_DMA_ZONE_OFFSET but do not select ZONE_DMA. Fix it up by
> selecting ZONE_DMA in their Kconfig.
> 
> Cc: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

I could take this through my i.MX tree, though the topic is quite wrong.
Can you check this into the patch system?

Sascha

> ---
>  arch/arm/mach-h720x/Kconfig |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-h720x/Kconfig b/arch/arm/mach-h720x/Kconfig
> index 9b6982e..abf356c 100644
> --- a/arch/arm/mach-h720x/Kconfig
> +++ b/arch/arm/mach-h720x/Kconfig
> @@ -6,12 +6,14 @@ config ARCH_H7201
>  	bool "gms30c7201"
>  	depends on ARCH_H720X
>  	select CPU_H7201
> +	select ZONE_DMA
>  	help
>  	  Say Y here if you are using the Hynix GMS30C7201 Reference Board
>  
>  config ARCH_H7202
>  	bool "hms30c7202"
>  	select CPU_H7202
> +	select ZONE_DMA
>  	depends on ARCH_H720X
>  	help
>  	  Say Y here if you are using the Hynix HMS30C7202 Reference Board
> -- 
> 1.7.3.2
> 
>
Linus Walleij June 16, 2011, 7:38 a.m. UTC | #2
On Thu, Jun 16, 2011 at 9:32 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:

> I could take this through my i.MX tree, though the topic is quite wrong.
> Can you check this into the patch system?

Yeah I did just 5 minutes before your mail or so :-)

Thanks,
Linus Walleij
diff mbox

Patch

diff --git a/arch/arm/mach-h720x/Kconfig b/arch/arm/mach-h720x/Kconfig
index 9b6982e..abf356c 100644
--- a/arch/arm/mach-h720x/Kconfig
+++ b/arch/arm/mach-h720x/Kconfig
@@ -6,12 +6,14 @@  config ARCH_H7201
 	bool "gms30c7201"
 	depends on ARCH_H720X
 	select CPU_H7201
+	select ZONE_DMA
 	help
 	  Say Y here if you are using the Hynix GMS30C7201 Reference Board
 
 config ARCH_H7202
 	bool "hms30c7202"
 	select CPU_H7202
+	select ZONE_DMA
 	depends on ARCH_H720X
 	help
 	  Say Y here if you are using the Hynix HMS30C7202 Reference Board