Date: Sat, 11 Nov 2006 00:26:24 +0100 (CET) From: Stefan Richter Subject: ieee1394: ohci1394: call PMac code in shutdown only for proper machines There has been an if(...) missing, for ages. Signed-off-by: Stefan Richter --- drivers/ieee1394/ohci1394.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/ieee1394/ohci1394.c =================================================================== --- linux.orig/drivers/ieee1394/ohci1394.c 2006-11-11 00:13:45.000000000 +0100 +++ linux/drivers/ieee1394/ohci1394.c 2006-11-11 00:16:37.000000000 +0100 @@ -3517,7 +3517,7 @@ static void ohci1394_pci_remove(struct p #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) {