aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/openprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/openprom.c')
-rw-r--r--drivers/sbus/char/openprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c
index 81ba2d71cee2..4e2a0e2dcc2e 100644
--- a/drivers/sbus/char/openprom.c
+++ b/drivers/sbus/char/openprom.c
@@ -676,7 +676,7 @@ static long openprom_compat_ioctl(struct file *file, unsigned int cmd,
676 case OPROMSETCUR: 676 case OPROMSETCUR:
677 case OPROMPCI2NODE: 677 case OPROMPCI2NODE:
678 case OPROMPATH2NODE: 678 case OPROMPATH2NODE:
679 rval = openprom_ioctl(file->f_dentry->d_inode, file, cmd, arg); 679 rval = openprom_ioctl(file->f_path.dentry->d_inode, file, cmd, arg);
680 break; 680 break;
681 } 681 }
682 682