*: convert stream-like files from nonseekable_open -> stream_open
[linux-2.6-block.git] / sound / core / rawmidi.c
index c0690d1ecd55c1ce33c9bc155abd82d2d0ec9edd..4666bb366c0cc8e22eeab72c39608703e47a6f8f 100644 (file)
@@ -382,7 +382,7 @@ static int snd_rawmidi_open(struct inode *inode, struct file *file)
        if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK))
                return -EINVAL;         /* invalid combination */
 
-       err = nonseekable_open(inode, file);
+       err = stream_open(inode, file);
        if (err < 0)
                return err;