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 ccd8742..0201683 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);
 }