diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hcd-pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c index e0afb5ad29e5..0d2193b69235 100644 --- a/drivers/usb/core/hcd-pci.c +++ b/drivers/usb/core/hcd-pci.c | |||
@@ -296,7 +296,7 @@ done: | |||
296 | 296 | ||
297 | #ifdef CONFIG_PPC_PMAC | 297 | #ifdef CONFIG_PPC_PMAC |
298 | /* Disable ASIC clocks for USB */ | 298 | /* Disable ASIC clocks for USB */ |
299 | if (_machine == _MACH_Pmac) { | 299 | if (machine_is(powermac)) { |
300 | struct device_node *of_node; | 300 | struct device_node *of_node; |
301 | 301 | ||
302 | of_node = pci_device_to_OF_node (dev); | 302 | of_node = pci_device_to_OF_node (dev); |
@@ -331,7 +331,7 @@ int usb_hcd_pci_resume (struct pci_dev *dev) | |||
331 | 331 | ||
332 | #ifdef CONFIG_PPC_PMAC | 332 | #ifdef CONFIG_PPC_PMAC |
333 | /* Reenable ASIC clocks for USB */ | 333 | /* Reenable ASIC clocks for USB */ |
334 | if (_machine == _MACH_Pmac) { | 334 | if (machine_is(powermac)) { |
335 | struct device_node *of_node; | 335 | struct device_node *of_node; |
336 | 336 | ||
337 | of_node = pci_device_to_OF_node (dev); | 337 | of_node = pci_device_to_OF_node (dev); |