diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:50 -0500 |
commit | ad9a824e004067a3d888567a991603f1ac36efb2 (patch) | |
tree | 2258ccc3ded8a8e0723bea92cfdcda5ed84beeb4 /drivers/video/epson1355fb.c | |
parent | 723731b2eef6599cf09af1fbfe0b12857b439e2d (diff) |
[PATCH] struct path: convert video
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/video/epson1355fb.c')
-rw-r--r-- | drivers/video/epson1355fb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/epson1355fb.c b/drivers/video/epson1355fb.c index 737257d278f0..29e07c109887 100644 --- a/drivers/video/epson1355fb.c +++ b/drivers/video/epson1355fb.c | |||
@@ -405,7 +405,7 @@ static inline unsigned long copy_to_user16(void *to, const void *from, | |||
405 | static ssize_t | 405 | static ssize_t |
406 | epson1355fb_read(struct file *file, char *buf, size_t count, loff_t * ppos) | 406 | epson1355fb_read(struct file *file, char *buf, size_t count, loff_t * ppos) |
407 | { | 407 | { |
408 | struct inode *inode = file->f_dentry->d_inode; | 408 | struct inode *inode = file->f_path.dentry->d_inode; |
409 | int fbidx = iminor(inode); | 409 | int fbidx = iminor(inode); |
410 | struct fb_info *info = registered_fb[fbidx]; | 410 | struct fb_info *info = registered_fb[fbidx]; |
411 | unsigned long p = *ppos; | 411 | unsigned long p = *ppos; |
@@ -437,7 +437,7 @@ static ssize_t | |||
437 | epson1355fb_write(struct file *file, const char *buf, | 437 | epson1355fb_write(struct file *file, const char *buf, |
438 | size_t count, loff_t * ppos) | 438 | size_t count, loff_t * ppos) |
439 | { | 439 | { |
440 | struct inode *inode = file->f_dentry->d_inode; | 440 | struct inode *inode = file->f_path.dentry->d_inode; |
441 | int fbidx = iminor(inode); | 441 | int fbidx = iminor(inode); |
442 | struct fb_info *info = registered_fb[fbidx]; | 442 | struct fb_info *info = registered_fb[fbidx]; |
443 | unsigned long p = *ppos; | 443 | unsigned long p = *ppos; |