aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/machzwd.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2007-07-21 09:42:18 -0400
committerWim Van Sebroeck <wim@iguana.be>2007-07-23 13:26:49 -0400
commit5c4eb61b375ce16fc7af5055d8ab7bc19e788361 (patch)
tree764284501cf9474b4dfe4b8cf1409cacc85669a4 /drivers/char/watchdog/machzwd.c
parentec9505a7ecadc0ab8f8e3c4c5fa900d57467e391 (diff)
[WATCHDOG] WDIOC_GETSTATUS and WDIOC_GETBOOTSTATUS clean-up
Add mandatory WDIOC_GETSTATUS and WDIOC_GETBOOTSTATUS ioctl's for drivers that don't have them yet. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/machzwd.c')
-rw-r--r--drivers/char/watchdog/machzwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/watchdog/machzwd.c b/drivers/char/watchdog/machzwd.c
index a0d27160c80e..6d35bb112a5f 100644
--- a/drivers/char/watchdog/machzwd.c
+++ b/drivers/char/watchdog/machzwd.c
@@ -321,6 +321,7 @@ static int zf_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
321 break; 321 break;
322 322
323 case WDIOC_GETSTATUS: 323 case WDIOC_GETSTATUS:
324 case WDIOC_GETBOOTSTATUS:
324 return put_user(0, p); 325 return put_user(0, p);
325 326
326 case WDIOC_KEEPALIVE: 327 case WDIOC_KEEPALIVE: