[PATCH] i.MX27: Use resigter name in imx27_add_fb

Sascha Hauer s.hauer at pengutronix.de
Sun Mar 18 11:13:15 EDT 2012


On Sun, Mar 18, 2012 at 10:40:13AM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>

Applied, thanks.

Sascha

> ---
>  arch/arm/mach-imx/include/mach/devices-imx27.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/include/mach/devices-imx27.h b/arch/arm/mach-imx/include/mach/devices-imx27.h
> index 3141d96..acef9c2 100644
> --- a/arch/arm/mach-imx/include/mach/devices-imx27.h
> +++ b/arch/arm/mach-imx/include/mach/devices-imx27.h
> @@ -48,7 +48,7 @@ static inline struct device_d *imx27_add_nand(struct imx_nand_platform_data *pda
>  
>  static inline struct device_d *imx27_add_fb(struct imx_fb_platform_data *pdata)
>  {
> -	return imx_add_fb((void *)0x10021000, pdata);
> +	return imx_add_fb((void *)IMX_FB_BASE, pdata);
>  }
>  
>  static inline struct device_d *imx27_add_fec(struct fec_platform_data *pdata)
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list