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 a86beeb6af5d..19222878aae9 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -3529,7 +3529,7 @@ static void ohci1394_pci_remove(struct pci_dev *pdev) | |||
3529 | static int ohci1394_pci_resume (struct pci_dev *pdev) | 3529 | static int ohci1394_pci_resume (struct pci_dev *pdev) |
3530 | { | 3530 | { |
3531 | #ifdef CONFIG_PPC_PMAC | 3531 | #ifdef CONFIG_PPC_PMAC |
3532 | if (_machine == _MACH_Pmac) { | 3532 | if (machine_is(powermac)) { |
3533 | struct device_node *of_node; | 3533 | struct device_node *of_node; |
3534 | 3534 | ||
3535 | /* Re-enable 1394 */ | 3535 | /* Re-enable 1394 */ |
@@ -3548,7 +3548,7 @@ static int ohci1394_pci_resume (struct pci_dev *pdev) | |||
3548 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) | 3548 | static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state) |
3549 | { | 3549 | { |
3550 | #ifdef CONFIG_PPC_PMAC | 3550 | #ifdef CONFIG_PPC_PMAC |
3551 | if (_machine == _MACH_Pmac) { | 3551 | if (machine_is(powermac)) { |
3552 | struct device_node *of_node; | 3552 | struct device_node *of_node; |
3553 | 3553 | ||
3554 | /* Disable 1394 */ | 3554 | /* Disable 1394 */ |