*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / m54xx_wdt.c
index da6fa2b68074b2523d8ba4a9a819d927c4191b8c..752d03620f0a3e0e24e23b7e064299d7c04e294c 100644 (file)
@@ -85,7 +85,7 @@ static int m54xx_wdt_open(struct inode *inode, struct file *file)
 
        clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
        wdt_enable();
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static ssize_t m54xx_wdt_write(struct file *file, const char *data,