diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 02:28:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 02:28:47 -0400 |
commit | 2313bcdcc9ff1e42f51b200dc65ddaae14c347f4 (patch) | |
tree | fdb0e3f953841cdd661e36c40a965c9e044d82f5 /drivers/watchdog/imx2_wdt.c | |
parent | 59ed2bb27492f74ab898ee1e26c69dfd78444640 (diff) | |
parent | 3f43f68e29f1dcb853d70280c7412fc0ef9a0da6 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-watchdog
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-watchdog: (25 commits)
watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
watchdog: WatchDog Timer Driver Core - Add ioctl call
watchdog: WatchDog Timer Driver Core - Add nowayout feature
watchdog: WatchDog Timer Driver Core - Add Magic Close feature
watchdog: WatchDog Timer Driver Core - Add WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctl
watchdog: WatchDog Timer Driver Core - Add WDIOC_SETOPTIONS ioctl
watchdog: WatchDog Timer Driver Core - Add WDIOC_KEEPALIVE ioctl
watchdog: WatchDog Timer Driver Core - Add basic ioctl functionality
watchdog: WatchDog Timer Driver Core - Add basic framework
watchdog: hpwdt: add next gen HP servers
watchdog: it8712f_wdt.c: improve includes
watchdog: at91sam9/wdt: move register header to drivers
watchdog: Add Xilinx watchdog timer driver
watchdog: remove empty pm-functions
watchdog: sp805: Flush posted writes in enable/disable.
watchdog: sp805: Don't write 0 to the load value register.
watchdog: imx2_wdt: add device tree probe support
watchdog: s3c2410: Add support for device tree based probe
watchdog: mpcore_wdt: Add suspend/resume support.
watchdog: mtx1-wdt: use dev_{err,info} instead of printk()
...
Diffstat (limited to 'drivers/watchdog/imx2_wdt.c')
-rw-r--r-- | drivers/watchdog/imx2_wdt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index 86f7cac1026c..b8ef2c6dca7c 100644 --- a/drivers/watchdog/imx2_wdt.c +++ b/drivers/watchdog/imx2_wdt.c | |||
@@ -329,12 +329,18 @@ static void imx2_wdt_shutdown(struct platform_device *pdev) | |||
329 | } | 329 | } |
330 | } | 330 | } |
331 | 331 | ||
332 | static const struct of_device_id imx2_wdt_dt_ids[] = { | ||
333 | { .compatible = "fsl,imx21-wdt", }, | ||
334 | { /* sentinel */ } | ||
335 | }; | ||
336 | |||
332 | static struct platform_driver imx2_wdt_driver = { | 337 | static struct platform_driver imx2_wdt_driver = { |
333 | .remove = __exit_p(imx2_wdt_remove), | 338 | .remove = __exit_p(imx2_wdt_remove), |
334 | .shutdown = imx2_wdt_shutdown, | 339 | .shutdown = imx2_wdt_shutdown, |
335 | .driver = { | 340 | .driver = { |
336 | .name = DRIVER_NAME, | 341 | .name = DRIVER_NAME, |
337 | .owner = THIS_MODULE, | 342 | .owner = THIS_MODULE, |
343 | .of_match_table = imx2_wdt_dt_ids, | ||
338 | }, | 344 | }, |
339 | }; | 345 | }; |
340 | 346 | ||