aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/ohci1394.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r--drivers/ieee1394/ohci1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c
index 2283005e3035..baa090d08d20 100644
--- a/drivers/ieee1394/ohci1394.c
+++ b/drivers/ieee1394/ohci1394.c
@@ -3553,6 +3553,8 @@ static int ohci1394_pci_resume (struct pci_dev *pdev)
3553 3553
3554static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) 3554static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
3555{ 3555{
3556 pci_save_state(pdev);
3557
3556#ifdef CONFIG_PPC_PMAC 3558#ifdef CONFIG_PPC_PMAC
3557 if (machine_is(powermac)) { 3559 if (machine_is(powermac)) {
3558 struct device_node *of_node; 3560 struct device_node *of_node;
@@ -3564,8 +3566,6 @@ static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
3564 } 3566 }
3565#endif 3567#endif
3566 3568
3567 pci_save_state(pdev);
3568
3569 return 0; 3569 return 0;
3570} 3570}
3571 3571