Merge tag 'Wimplicit-fallthrough-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kerne...
[sfrench/cifs-2.6.git] / drivers / watchdog / wdt_pci.c
index 10e2cda0ee5a426ba48bbbf625134fe76fdb0edd..ff3a41f47127060692ca5294cf591279dd8abf16 100644 (file)
@@ -461,7 +461,7 @@ static int wdtpci_open(struct inode *inode, struct file *file)
         *      Activate
         */
        wdtpci_start();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 /**
@@ -524,7 +524,7 @@ static ssize_t wdtpci_temp_read(struct file *file, char __user *buf,
 
 static int wdtpci_temp_open(struct inode *inode, struct file *file)
 {
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 /**