diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:36:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:44 -0800 |
commit | a7113a966241b700aecc7b8cb326cecb62e3c4b2 (patch) | |
tree | b28920a82e7cad67ea6e55826e161ba0e4cf9782 /drivers/char/tb0219.c | |
parent | 6c648be6f4183775679c1f2cc4d094128f104fb2 (diff) | |
download | kernel_goldelico_gta04-a7113a966241b700aecc7b8cb326cecb62e3c4b2.zip kernel_goldelico_gta04-a7113a966241b700aecc7b8cb326cecb62e3c4b2.tar.gz kernel_goldelico_gta04-a7113a966241b700aecc7b8cb326cecb62e3c4b2.tar.bz2 |
[PATCH] struct path: convert char-drivers
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 'drivers/char/tb0219.c')
-rw-r--r-- | drivers/char/tb0219.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c index bb1bad4..4c431cb 100644 --- a/drivers/char/tb0219.c +++ b/drivers/char/tb0219.c @@ -164,7 +164,7 @@ static ssize_t tanbac_tb0219_read(struct file *file, char __user *buf, size_t le unsigned int minor; char value; - minor = iminor(file->f_dentry->d_inode); + minor = iminor(file->f_path.dentry->d_inode); switch (minor) { case 0: value = get_led(); @@ -200,7 +200,7 @@ static ssize_t tanbac_tb0219_write(struct file *file, const char __user *data, int retval = 0; char c; - minor = iminor(file->f_dentry->d_inode); + minor = iminor(file->f_path.dentry->d_inode); switch (minor) { case 0: type = TYPE_LED; |