[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>
This commit is contained in:
Josef Sipek
2006-12-08 02:37:20 -08:00
committed by Linus Torvalds
parent dcf258ae68
commit 1b04fe9a8e
4 changed files with 12 additions and 12 deletions

View File

@@ -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();