*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / advantechwdt.c
index f61944369c1ade3608b500834cefd7a9e6e8aba0..2766af292a714a6ef2e258c7e79d4cfba3f3c1ed 100644 (file)
@@ -199,7 +199,7 @@ static int advwdt_open(struct inode *inode, struct file *file)
         */
 
        advwdt_ping();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int advwdt_close(struct inode *inode, struct file *file)