summaryrefslogtreecommitdiffstats
path: root/arch/mips/lasat/sysctl.c
diff options
context:
space:
mode:
authorJosef Sipek2006-12-08 11:37:20 +0100
committerLinus Torvalds2006-12-08 17:28:47 +0100
commit1b04fe9a8ef10774174897b15d753b9de85fe9e9 (patch)
treec3c01a1123003d6c22b4070b94de192dd2d63669 /arch/mips/lasat/sysctl.c
parent[PATCH] struct path: convert minix (diff)
downloadkernel-qcow2-linux-1b04fe9a8ef10774174897b15d753b9de85fe9e9.tar.gz
kernel-qcow2-linux-1b04fe9a8ef10774174897b15d753b9de85fe9e9.tar.xz
kernel-qcow2-linux-1b04fe9a8ef10774174897b15d753b9de85fe9e9.zip
[PATCH] struct path: convert mips
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 'arch/mips/lasat/sysctl.c')
-rw-r--r--arch/mips/lasat/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/lasat/sysctl.c b/arch/mips/lasat/sysctl.c
index 6dd7ae1b7c25..da35d4555491 100644
--- a/arch/mips/lasat/sysctl.c
+++ b/arch/mips/lasat/sysctl.c
@@ -286,11 +286,11 @@ int proc_lasat_eeprom_value(ctl_table *table, int write, struct file *filp,
mutex_unlock(&lasat_info_mutex);
return r;
}
- if (filp && filp->f_dentry)
+ if (filp && filp->f_path.dentry)
{
- if (!strcmp(filp->f_dentry->d_name.name, "prid"))
+ if (!strcmp(filp->f_path.dentry->d_name.name, "prid"))
lasat_board_info.li_eeprom_info.prid = lasat_board_info.li_prid;
- if (!strcmp(filp->f_dentry->d_name.name, "debugaccess"))
+ if (!strcmp(filp->f_path.dentry->d_name.name, "debugaccess"))
lasat_board_info.li_eeprom_info.debugaccess = lasat_board_info.li_debugaccess;
}
lasat_write_eeprom_info();