diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-11-11 00:26:24 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-12-07 23:04:35 +0100 |
commit | 63cca59e89892497e95e1e9c7156d3345fb7e2e8 (patch) | |
tree | 9fe520394c34cf5d8ba2ab8508685a8497cc104b /drivers/ieee1394 | |
parent | 5370f1f5e94f1734f0706044bfb95007ea90fb23 (diff) |
ieee1394: ohci1394: call PMac code in shutdown only for proper machines
There has been an if(...) missing, for ages.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 3c9dc7d24410..628130a58af3 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c @@ -3517,7 +3517,7 @@ static void ohci1394_pci_remove(struct pci_dev *pdev) #ifdef CONFIG_PPC_PMAC /* On UniNorth, power down the cable and turn off the chip clock * to save power on laptops */ - { + if (machine_is(powermac)) { struct device_node* ofn = pci_device_to_OF_node(ohci->dev); if (ofn) { |