summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-11-11 00:26:24 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-12-07 23:04:35 +0100
commit63cca59e89892497e95e1e9c7156d3345fb7e2e8 (patch)
tree9fe520394c34cf5d8ba2ab8508685a8497cc104b /drivers
parentieee1394: ohci1394: reformat PPC_PMAC platform code (diff)
downloadlinux-63cca59e89892497e95e1e9c7156d3345fb7e2e8.tar.xz
linux-63cca59e89892497e95e1e9c7156d3345fb7e2e8.zip
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')
-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)
#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) {