*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / intel_scu_watchdog.c
index 0caab6241eb77a84bd2911dbaa011be68498fd85..3181a72c7ddf3f736a05ae0fb0507f7a7bb1b7f9 100644 (file)
@@ -304,7 +304,7 @@ static int intel_scu_open(struct inode *inode, struct file *file)
        if (watchdog_device.driver_closed)
                return -EPERM;
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int intel_scu_release(struct inode *inode, struct file *file)