git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] omap_wdt.c - default error for IOCTL is -ENOTTY
[pandora-kernel.git]
/
drivers
/
char
/
watchdog
/
omap_wdt.c
diff --git
a/drivers/char/watchdog/omap_wdt.c
b/drivers/char/watchdog/omap_wdt.c
index
3a0e061
..
719b066
100644
(file)
--- a/
drivers/char/watchdog/omap_wdt.c
+++ b/
drivers/char/watchdog/omap_wdt.c
@@
-197,7
+197,7
@@
omap_wdt_ioctl(struct inode *inode, struct file *file,
switch (cmd) {
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user((struct watchdog_info __user *)arg, &ident,
sizeof(ident));