aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r--drivers/char/sonypi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index fc87070f1866..17d54e1331b2 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -979,7 +979,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf,
979 } 979 }
980 980
981 if (ret > 0) { 981 if (ret > 0) {
982 struct inode *inode = file->f_dentry->d_inode; 982 struct inode *inode = file->f_path.dentry->d_inode;
983 inode->i_atime = current_fs_time(inode->i_sb); 983 inode->i_atime = current_fs_time(inode->i_sb);
984 } 984 }
985 985