diff options
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 36e25ac823dc..b3d3d22fde64 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -3538,8 +3538,8 @@ static void ohci1394_pci_remove(struct pci_dev *pdev) | |||
3538 | 3538 | ||
3539 | static int ohci1394_pci_resume (struct pci_dev *pdev) | 3539 | static int ohci1394_pci_resume (struct pci_dev *pdev) |
3540 | { | 3540 | { |
3541 | #ifdef CONFIG_PMAC_PBOOK | 3541 | #ifdef CONFIG_PPC_PMAC |
3542 | { | 3542 | if (_machine == _MACH_Pmac) { |
3543 | struct device_node *of_node; | 3543 | struct device_node *of_node; |
3544 | 3544 | ||
3545 | /* Re-enable 1394 */ | 3545 | /* Re-enable 1394 */ |
@@ -3547,7 +3547,7 @@ static int ohci1394_pci_resume (struct pci_dev *pdev) | |||
3547 | if (of_node) | 3547 | if (of_node) |
3548 | pmac_call_feature (PMAC_FTR_1394_ENABLE, of_node, 0, 1); | 3548 | pmac_call_feature (PMAC_FTR_1394_ENABLE, of_node, 0, 1); |
3549 | } | 3549 | } |
3550 | #endif | 3550 | #endif /* CONFIG_PPC_PMAC */ |
3551 | 3551 | ||
3552 | pci_enable_device(pdev); | 3552 | pci_enable_device(pdev); |
3553 | 3553 | ||
@@ -3557,8 +3557,8 @@ static int ohci1394_pci_resume (struct pci_dev *pdev) | |||
3557 | 3557 | ||
3558 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) | 3558 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) |
3559 | { | 3559 | { |
3560 | #ifdef CONFIG_PMAC_PBOOK | 3560 | #ifdef CONFIG_PPC_PMAC |
3561 | { | 3561 | if (_machine == _MACH_Pmac) { |
3562 | struct device_node *of_node; | 3562 | struct device_node *of_node; |
3563 | 3563 | ||
3564 | /* Disable 1394 */ | 3564 | /* Disable 1394 */ |