diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2007-07-20 17:22:58 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-07-23 13:23:49 -0400 |
commit | de81225a8719494f5149980ea8a50de28da653f6 (patch) | |
tree | 6970209ff84cb32a663ca567868b57eb050219ac /drivers/char/pc8736x_gpio.c | |
parent | 7d831bf59a6991f399170bd2934dad4450891024 (diff) |
[WATCHDOG] mpc5200_wdt clean-up
* Add MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
* Add mandatory WDIOC_GETSTATUS and WDIOC_GETBOOTSTATUS ioctl's.
* If unknown ioctl is used we should return -ENOTTY.
* All watchdog device drivers are VFSs (Virtual File Systems).
We thus return a nonseekable_open(inode, file) when we open the VFS.
* Make sure that /dev/watchdog can be opened by 1 parent
* Add spin-locking to prevent that forked children can disturb
each other's operations.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/pc8736x_gpio.c')
0 files changed, 0 insertions, 0 deletions