From: Ragner Magalhaes Date: Mon, 25 Jun 2007 09:22:28 +0000 (-0700) Subject: ARM: OMAP: Compile fix OMAP1 DMA V4 Base X-Git-Tag: v2.6.22-omap1~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5b5fd34c8bcc70a337587d1aeacd5a41b563a7e2;p=linux-2.6-omap-h63xx.git 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 --- 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