*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / drivers / watchdog / mixcomwd.c
index 3cc07447c6558b3c311c6295249fa4eaab447583..ece56db0a3795041d676c9c2b1e7c771c8b48b95 100644 (file)
@@ -150,7 +150,7 @@ static int mixcomwd_open(struct inode *inode, struct file *file)
                        mixcomwd_timer_alive = 0;
                }
        }
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static int mixcomwd_release(struct inode *inode, struct file *file)