diff options
Diffstat (limited to 'drivers/video/arcfb.c')
-rw-r--r-- | drivers/video/arcfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/arcfb.c b/drivers/video/arcfb.c index ab34b96acc31..30a8369757e7 100644 --- a/drivers/video/arcfb.c +++ b/drivers/video/arcfb.c | |||
@@ -454,7 +454,7 @@ static ssize_t arcfb_write(struct file *file, const char __user *buf, size_t cou | |||
454 | unsigned int xres; | 454 | unsigned int xres; |
455 | 455 | ||
456 | p = *ppos; | 456 | p = *ppos; |
457 | inode = file->f_dentry->d_inode; | 457 | inode = file->f_path.dentry->d_inode; |
458 | fbidx = iminor(inode); | 458 | fbidx = iminor(inode); |
459 | info = registered_fb[fbidx]; | 459 | info = registered_fb[fbidx]; |
460 | 460 | ||