imx31: add watchdog device on litekit board.
authorVladimir Zapolskiy <vzapolskiy@gmail.com>
Fri, 19 Mar 2010 15:16:59 +0000 (18:16 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 30 Mar 2010 12:21:12 +0000 (14:21 +0200)
This patch adds support for SoC build-in watchdog device on litekit
board.

Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/mx31lite-db.c

index ccd874225c3b6b19d5a52008b6bffe0efd1fc69a..02016837093ec2f0c35d1dc8a5d9ce8e10605ed6 100644 (file)
@@ -206,5 +206,6 @@ void __init mx31lite_db_init(void)
        mxc_register_device(&mxcsdhc_device0, &mmc_pdata);
        mxc_register_device(&mxc_spi_device0, &spi0_pdata);
        platform_device_register(&litekit_led_device);
+       mxc_register_device(&imx_wdt_device0, NULL);
 }