*: convert stream-like files from nonseekable_open -> stream_open
[sfrench/cifs-2.6.git] / net / rfkill / core.c
index abca57040f37c07a842a3888e6cab4f991fd3f47..742e186bfadbf5257af922e1e1c460154153e123 100644 (file)
@@ -1143,7 +1143,7 @@ static int rfkill_fop_open(struct inode *inode, struct file *file)
 
        file->private_data = data;
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 
  free:
        mutex_unlock(&data->mtx);