diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/via-pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 22b8ce4191cc..c31fbab6aa82 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -869,7 +869,7 @@ static int pmu_battery_proc_show(struct seq_file *m, void *v) | |||
869 | 869 | ||
870 | static int pmu_battery_proc_open(struct inode *inode, struct file *file) | 870 | static int pmu_battery_proc_open(struct inode *inode, struct file *file) |
871 | { | 871 | { |
872 | return single_open(file, pmu_battery_proc_show, PDE(inode)->data); | 872 | return single_open(file, pmu_battery_proc_show, PDE_DATA(inode)); |
873 | } | 873 | } |
874 | 874 | ||
875 | static const struct file_operations pmu_battery_proc_fops = { | 875 | static const struct file_operations pmu_battery_proc_fops = { |