[PATCH 2/3] mx25: fix compile error in platform-imx-dma.c

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Oct 12 08:35:32 EDT 2010


On Tue, Oct 12, 2010 at 02:23:56PM +0200, Eric Bénard wrote:
> this patch fix the following errors :
> arch/arm/plat-mxc/devices/platform-imx-dma.c:44:
>     error: ‘MX25_SDMA_BASE_ADDR’ undeclared here (not in a function)
> arch/arm/plat-mxc/devices/platform-imx-dma.c:44:
>     error: ‘MX25_INT_SDMA’ undeclared here (not in a function)
> 
> Signed-off-by: Eric Bénard <eric at eukrea.com>
ah, it seems my mx25_defconfig is gone.  Thanks and ack.

Uwe
> ---
>  arch/arm/plat-mxc/include/mach/mx25.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/include/mach/mx25.h b/arch/arm/plat-mxc/include/mach/mx25.h
> index 31d9c4c..02d0ecd 100644
> --- a/arch/arm/plat-mxc/include/mach/mx25.h
> +++ b/arch/arm/plat-mxc/include/mach/mx25.h
> @@ -54,6 +54,7 @@
>  #define MX25_MMC_SDHC2_BASE_ADDR	0x53fb8000
>  #define MX25_LCDC_BASE_ADDR		0x53fbc000
>  #define MX25_KPP_BASE_ADDR		0x43fa8000
> +#define MX25_SDMA_BASE_ADDR		0x53fd4000
>  #define MX25_OTG_BASE_ADDR		0x53ff4000
>  #define MX25_CSI_BASE_ADDR		0x53ff8000
>  
> @@ -74,6 +75,7 @@
>  #define MX25_INT_DRYICE		25
>  #define MX25_INT_UART2		32
>  #define MX25_INT_NFC		33
> +#define MX25_INT_SDMA		34
>  #define MX25_INT_LCDC		39
>  #define MX25_INT_UART5		40
>  #define MX25_INT_CAN1		43
> -- 
> 1.7.0.4
> 
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list