aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/at91_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/at91_wdt.c')
-rw-r--r--drivers/char/watchdog/at91_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/at91_wdt.c b/drivers/char/watchdog/at91_wdt.c
index cc266715ea32..4e7a1145e78f 100644
--- 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,
168 return 0; 168 return 0;
169 169
170 default: 170 default:
171 return -ENOIOCTLCMD; 171 return -ENOTTY;
172 } 172 }
173} 173}
174 174