[PATCH] ARM: imx/mx21ads: remove unneeded cast

Sascha Hauer s.hauer at pengutronix.de
Mon Apr 2 05:06:53 EDT 2012


On Thu, Mar 29, 2012 at 09:58:58PM +0200, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  arch/arm/mach-imx/mach-mx21ads.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/mach-mx21ads.c b/arch/arm/mach-imx/mach-mx21ads.c
> index e432d4a..d14bbe9 100644
> --- a/arch/arm/mach-imx/mach-mx21ads.c
> +++ b/arch/arm/mach-imx/mach-mx21ads.c
> @@ -304,8 +304,7 @@ static void __init mx21ads_board_init(void)
>  	imx21_add_mxc_nand(&mx21ads_nand_board_info);
>  
>  	platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
> -	platform_device_register_full(
> -			(struct platform_device_info *)&mx21ads_cs8900_devinfo);
> +	platform_device_register_full(&mx21ads_cs8900_devinfo);

Applied, thanks

Sascha

>  }
>  
>  static void __init mx21ads_timer_init(void)
> -- 
> 1.7.9.1
> 
> 

-- 
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 linux-arm-kernel mailing list