|
@@ -3552,6 +3552,8 @@ static int ohci1394_pci_resume (struct pci_dev *pdev)
|
|
|
|
|
|
static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
|
|
static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
|
|
{
|
|
{
|
|
|
|
+ pci_save_state(pdev);
|
|
|
|
+
|
|
#ifdef CONFIG_PPC_PMAC
|
|
#ifdef CONFIG_PPC_PMAC
|
|
if (machine_is(powermac)) {
|
|
if (machine_is(powermac)) {
|
|
struct device_node *of_node;
|
|
struct device_node *of_node;
|
|
@@ -3563,8 +3565,6 @@ static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
- pci_save_state(pdev);
|
|
|
|
-
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|