*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / scx200_wdt.c
index ec4063ebb41a14d03a5c4961c3967ac51dc85f54..85f2d8e06cd0b79a538b68ad056059754586cdb3 100644 (file)
@@ -102,7 +102,7 @@ static int scx200_wdt_open(struct inode *inode, struct file *file)
                return -EBUSY;
        scx200_wdt_enable();
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int scx200_wdt_release(struct inode *inode, struct file *file)