projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5370f1f
)
ieee1394: ohci1394: call PMac code in shutdown only for proper machines
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Fri, 10 Nov 2006 23:26:24 +0000
(
00:26
+0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 22:04:35 +0000
(23:04 +0100)
There has been an if(...) missing, for ages.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/ohci1394.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/ohci1394.c
b/drivers/ieee1394/ohci1394.c
index 3c9dc7d24410b967c838df563519166afa34e71a..628130a58af3fe9205750bdf4b68eb225815fbaa 100644
(file)
--- 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) {