projects
/
deliverable
/
linux.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()
[deliverable/linux.git]
/
drivers
/
char
/
watchdog
/
s3c2410_wdt.c
diff --git
a/drivers/char/watchdog/s3c2410_wdt.c
b/drivers/char/watchdog/s3c2410_wdt.c
index a49f1f2ffa22a17003ac9055498efd257e26f909..b36a04ae9ab8e96306a35ce07680aed56bae40d2 100644
(file)
--- a/
drivers/char/watchdog/s3c2410_wdt.c
+++ b/
drivers/char/watchdog/s3c2410_wdt.c
@@
-288,7
+288,7
@@
static int s3c2410wdt_ioctl(struct inode *inode, struct file *file,
switch (cmd) {
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
return copy_to_user(argp, &s3c2410_wdt_ident,
This page took
0.025659 seconds
and
5
git commands to generate.