projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[powerpc.git]
/
drivers
/
char
/
watchdog
/
at91_wdt.c
diff --git
a/drivers/char/watchdog/at91_wdt.c
b/drivers/char/watchdog/at91_wdt.c
index
cc26671
..
4e7a114
100644
(file)
--- a/
drivers/char/watchdog/at91_wdt.c
+++ b/
drivers/char/watchdog/at91_wdt.c
@@
-168,7
+168,7
@@
static int at91_wdt_ioctl(struct inode *inode, struct file *file,
return 0;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
}