Skip to content

Commit

Permalink
ieee1394: ohci1394: call PMac code in shutdown only for proper machines
Browse files Browse the repository at this point in the history
There has been an if(...) missing, for ages.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Dec 7, 2006
1 parent 5370f1f commit 63cca59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ieee1394/ohci1394.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 63cca59

Please sign in to comment.