summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/gef_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/gef_wdt.c')
-rw-r--r--drivers/watchdog/gef_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c
index 006e2348022c..26350b319505 100644
--- a/drivers/watchdog/gef_wdt.c
+++ b/drivers/watchdog/gef_wdt.c
@@ -229,7 +229,7 @@ static int gef_wdt_open(struct inode *inode, struct file *file)
gef_wdt_handler_enable();
- return nonseekable_open(inode, file);
+ return stream_open(inode, file);
}
static int gef_wdt_release(struct inode *inode, struct file *file)