diff options
Diffstat (limited to 'drivers/watchdog/advantechwdt.c')
-rw-r--r-- | drivers/watchdog/advantechwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c index f61944369c1a..2766af292a71 100644 --- a/drivers/watchdog/advantechwdt.c +++ b/drivers/watchdog/advantechwdt.c | |||
@@ -199,7 +199,7 @@ static int advwdt_open(struct inode *inode, struct file *file) | |||
199 | */ | 199 | */ |
200 | 200 | ||
201 | advwdt_ping(); | 201 | advwdt_ping(); |
202 | return nonseekable_open(inode, file); | 202 | return stream_open(inode, file); |
203 | } | 203 | } |
204 | 204 | ||
205 | static int advwdt_close(struct inode *inode, struct file *file) | 205 | static int advwdt_close(struct inode *inode, struct file *file) |