summaryrefslogtreecommitdiff
path: root/drivers/watchdog/pnx833x_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/pnx833x_wdt.c')
-rw-r--r--drivers/watchdog/pnx833x_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pnx833x_wdt.c b/drivers/watchdog/pnx833x_wdt.c
index 882fdcb46ad1..312899f39fd2 100644
--- a/drivers/watchdog/pnx833x_wdt.c
+++ b/drivers/watchdog/pnx833x_wdt.c
@@ -116,7 +116,7 @@ static int pnx833x_wdt_open(struct inode *inode, struct file *file)
pr_info("Started watchdog timer\n");
- return nonseekable_open(inode, file);
+ return stream_open(inode, file);
}
static int pnx833x_wdt_release(struct inode *inode, struct file *file)