[PATCH] mach-h720x: fix build error

Linus Walleij linus.walleij at stericsson.com
Wed Jun 15 04:43:21 EDT 2011

From: Linus Walleij <linus.walleij at 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 at pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
 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
 	  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
 	  Say Y here if you are using the Hynix HMS30C7202 Reference Board

More information about the linux-arm-kernel mailing list