diff options
Diffstat (limited to 'drivers/scsi/megaraid.c')
-rw-r--r-- | drivers/scsi/megaraid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index ef3384d39e11..7373255aa1e8 100644 --- a/drivers/scsi/megaraid.c +++ b/drivers/scsi/megaraid.c | |||
@@ -2760,7 +2760,7 @@ proc_show_rdrv_40(struct seq_file *m, void *v) | |||
2760 | */ | 2760 | */ |
2761 | static int mega_proc_open(struct inode *inode, struct file *file) | 2761 | static int mega_proc_open(struct inode *inode, struct file *file) |
2762 | { | 2762 | { |
2763 | adapter_t *adapter = PDE(inode)->parent->data; | 2763 | adapter_t *adapter = proc_get_parent_data(inode); |
2764 | int (*show)(struct seq_file *, void *) = PDE_DATA(inode); | 2764 | int (*show)(struct seq_file *, void *) = PDE_DATA(inode); |
2765 | 2765 | ||
2766 | return single_open(file, show, adapter); | 2766 | return single_open(file, show, adapter); |