projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: WatchDog Timer Driver Core - Add ioctl call
[deliverable/linux.git]
/
drivers
/
watchdog
/
watchdog_dev.c
diff --git
a/drivers/watchdog/watchdog_dev.c
b/drivers/watchdog/watchdog_dev.c
index ac20f92347b14be49ad704c2d59a80cb7323c0c5..e7134a5979c61d99cefd3bb49cfef829e1fad19a 100644
(file)
--- a/
drivers/watchdog/watchdog_dev.c
+++ b/
drivers/watchdog/watchdog_dev.c
@@
-180,6
+180,12
@@
static long watchdog_ioctl(struct file *file, unsigned int cmd,
unsigned int val;
int err;
+ if (wdd->ops->ioctl) {
+ err = wdd->ops->ioctl(wdd, cmd, arg);
+ if (err != -ENOIOCTLCMD)
+ return err;
+ }
+
switch (cmd) {
case WDIOC_GETSUPPORT:
return copy_to_user(argp, wdd->info,
This page took
0.028348 seconds
and
5
git commands to generate.