aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-11-10 18:26:24 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-12-07 17:04:35 -0500
commit63cca59e89892497e95e1e9c7156d3345fb7e2e8 (patch)
tree9fe520394c34cf5d8ba2ab8508685a8497cc104b
parent5370f1f5e94f1734f0706044bfb95007ea90fb23 (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>
-rw-r--r--drivers/ieee1394/ohci1394.c2
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)
3517#ifdef CONFIG_PPC_PMAC 3517#ifdef CONFIG_PPC_PMAC
3518 /* On UniNorth, power down the cable and turn off the chip clock 3518 /* On UniNorth, power down the cable and turn off the chip clock
3519 * to save power on laptops */ 3519 * to save power on laptops */
3520 { 3520 if (machine_is(powermac)) {
3521 struct device_node* ofn = pci_device_to_OF_node(ohci->dev); 3521 struct device_node* ofn = pci_device_to_OF_node(ohci->dev);
3522 3522
3523 if (ofn) { 3523 if (ofn) {