diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:49 -0500 |
commit | 7bc563239e4c276afebd11d2e6e67ddc0cc65f0d (patch) | |
tree | 7a4c13715285bc374297d439d01f703e0184df69 /sound/oss/msnd_pinnacle.c | |
parent | 17b75e69493f655a09908045eddbb48718aef5de (diff) |
[PATCH] struct path: convert sound
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/msnd_pinnacle.c')
-rw-r--r-- | sound/oss/msnd_pinnacle.c | 4 |
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 | ||
1008 | static ssize_t dev_read(struct file *file, char __user *buf, size_t count, loff_t *off) | 1008 | static 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 | ||
1017 | static ssize_t dev_write(struct file *file, const char __user *buf, size_t count, loff_t *off) | 1017 | static 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 |