From 5b5fd34c8bcc70a337587d1aeacd5a41b563a7e2 Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Mon, 25 Jun 2007 02:22:28 -0700 Subject: [PATCH] ARM: OMAP: Compile fix OMAP1 DMA V4 Base When OMAP1, OMAP_DMA4_BASE(DMA V4 Base) is not defined causing the follow compile error: arch/arm/plat-omap/dma.c: In function 'omap_set_dma_src_params': arch/arm/plat-omap/dma.c:273: error: 'OMAP_DMA4_BASE' undeclared (first use in this function) arch/arm/plat-omap/dma.c:273: error: (Each undeclared identifier is reported only once arch/arm/plat-omap/dma.c:273: error: for each function it appears in.) ... make[1]: *** [arch/arm/plat-omap/dma.o] Error 1 Signed-off-by: Ragner Magalhaes Signed-off-by: Tony Lindgren --- include/asm-arm/arch-omap/dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-arm/arch-omap/dma.h b/include/asm-arm/arch-omap/dma.h index e9546df0915..8868397f2c5 100644 --- a/include/asm-arm/arch-omap/dma.h +++ b/include/asm-arm/arch-omap/dma.h @@ -47,7 +47,7 @@ /* Hardware registers for omap2 */ #if defined(CONFIG_ARCH_OMAP3) #define OMAP_DMA4_BASE (L4_34XX_BASE + 0x56000) -#elif defined(CONFIG_ARCH_OMAP2) +#else /* CONFIG_ARCH_OMAP2 */ #define OMAP_DMA4_BASE (L4_24XX_BASE + 0x56000) #endif -- 2.41.1