aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/msnd_pinnacle.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/msnd_pinnacle.c')
-rw-r--r--sound/oss/msnd_pinnacle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/msnd_pinnacle.c b/sound/oss/msnd_pinnacle.c
index d5146790f5e3..24110d63b136 100644
--- a/sound/oss/msnd_pinnacle.c
+++ b/sound/oss/msnd_pinnacle.c
@@ -1007,7 +1007,7 @@ static int dsp_write(const char __user *buf, size_t len)
1007 1007
1008static ssize_t dev_read(struct file *file, char __user *buf, size_t count, loff_t *off) 1008static ssize_t dev_read(struct file *file, char __user *buf, size_t count, loff_t *off)
1009{ 1009{
1010 int minor = iminor(file->f_dentry->d_inode); 1010 int minor = iminor(file->f_path.dentry->d_inode);
1011 if (minor == dev.dsp_minor) 1011 if (minor == dev.dsp_minor)
1012 return dsp_read(buf, count); 1012 return dsp_read(buf, count);
1013 else 1013 else
@@ -1016,7 +1016,7 @@ static ssize_t dev_read(struct file *file, char __user *buf, size_t count, loff_
1016 1016
1017static ssize_t dev_write(struct file *file, const char __user *buf, size_t count, loff_t *off) 1017static ssize_t dev_write(struct file *file, const char __user *buf, size_t count, loff_t *off)
1018{ 1018{
1019 int minor = iminor(file->f_dentry->d_inode); 1019 int minor = iminor(file->f_path.dentry->d_inode);
1020 if (minor == dev.dsp_minor) 1020 if (minor == dev.dsp_minor)
1021 return dsp_write(buf, count); 1021 return dsp_write(buf, count);
1022 else 1022 else