diff options
Diffstat (limited to 'drivers/ieee1394/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index b6b96fa04d62..314f35540034 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -3526,7 +3526,7 @@ static void ohci1394_pci_remove(struct pci_dev *pdev) | |||
3526 | static int ohci1394_pci_resume (struct pci_dev *pdev) | 3526 | static int ohci1394_pci_resume (struct pci_dev *pdev) |
3527 | { | 3527 | { |
3528 | #ifdef CONFIG_PPC_PMAC | 3528 | #ifdef CONFIG_PPC_PMAC |
3529 | if (_machine == _MACH_Pmac) { | 3529 | if (machine_is(powermac)) { |
3530 | struct device_node *of_node; | 3530 | struct device_node *of_node; |
3531 | 3531 | ||
3532 | /* Re-enable 1394 */ | 3532 | /* Re-enable 1394 */ |
@@ -3545,7 +3545,7 @@ static int ohci1394_pci_resume (struct pci_dev *pdev) | |||
3545 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) | 3545 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) |
3546 | { | 3546 | { |
3547 | #ifdef CONFIG_PPC_PMAC | 3547 | #ifdef CONFIG_PPC_PMAC |
3548 | if (_machine == _MACH_Pmac) { | 3548 | if (machine_is(powermac)) { |
3549 | struct device_node *of_node; | 3549 | struct device_node *of_node; |
3550 | 3550 | ||
3551 | /* Disable 1394 */ | 3551 | /* Disable 1394 */ |