summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-mx21ads.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-03-29 21:58:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-02 11:06:42 +0200
commitd5be0d73ab8655e785ae49e4f19bf031a938b336 (patch)
treea98e8e64ef15ffd2168de2fa8a971c1a6b9a3263 /arch/arm/mach-imx/mach-mx21ads.c
parentdd775ae2549217d3ae09363e3edb305d0fa19928 (diff)
ARM: imx/mx21ads: remove unneeded cast
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx21ads.c')
-rw-r--r--arch/arm/mach-imx/mach-mx21ads.c3
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 e432d4acee1f..d14bbe949a4f 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);
}
static void __init mx21ads_timer_init(void)