diff options
Diffstat (limited to 'drivers/macintosh/via-pmu.c')
-rw-r--r-- | drivers/macintosh/via-pmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index dc741d3a4531..ac420b17e16f 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -2336,6 +2336,7 @@ powerbook_sleep_3400(void) | |||
2336 | ret = pmac_suspend_devices(); | 2336 | ret = pmac_suspend_devices(); |
2337 | if (ret) { | 2337 | if (ret) { |
2338 | pbook_free_pci_save(); | 2338 | pbook_free_pci_save(); |
2339 | iounmap(mem_ctrl); | ||
2339 | printk(KERN_ERR "Sleep rejected by devices\n"); | 2340 | printk(KERN_ERR "Sleep rejected by devices\n"); |
2340 | return ret; | 2341 | return ret; |
2341 | } | 2342 | } |
@@ -2795,7 +2796,7 @@ static int pmu_sys_resume(struct sys_device *sysdev) | |||
2795 | #endif /* CONFIG_PM_SLEEP && CONFIG_PPC32 */ | 2796 | #endif /* CONFIG_PM_SLEEP && CONFIG_PPC32 */ |
2796 | 2797 | ||
2797 | static struct sysdev_class pmu_sysclass = { | 2798 | static struct sysdev_class pmu_sysclass = { |
2798 | set_kset_name("pmu"), | 2799 | .name = "pmu", |
2799 | }; | 2800 | }; |
2800 | 2801 | ||
2801 | static struct sys_device device_pmu = { | 2802 | static struct sys_device device_pmu = { |