summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1374.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-ds1374.c')
-rw-r--r--drivers/rtc/rtc-ds1374.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c
index 38a2e9e684df..225a8df1d4e9 100644
--- a/drivers/rtc/rtc-ds1374.c
+++ b/drivers/rtc/rtc-ds1374.c
@@ -467,7 +467,7 @@ static int ds1374_wdt_open(struct inode *inode, struct file *file)
467 */ 467 */
468 wdt_is_open = 1; 468 wdt_is_open = 1;
469 mutex_unlock(&ds1374->mutex); 469 mutex_unlock(&ds1374->mutex);
470 return nonseekable_open(inode, file); 470 return stream_open(inode, file);
471 } 471 }
472 return -ENODEV; 472 return -ENODEV;
473} 473}