*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / cpwd.c
index 32156e199c5127d890d4b54151dbf405543c8bc1..b5b078bdebe66ecceb1caa399a99c1284b2fd0c7 100644 (file)
@@ -394,7 +394,7 @@ static int cpwd_open(struct inode *inode, struct file *f)
 
        mutex_unlock(&cpwd_mutex);
 
-       return nonseekable_open(inode, f);
+       return stream_open(inode, f);
 }
 
 static int cpwd_release(struct inode *inode, struct file *file)