From: Stefan Richter Date: Fri, 10 Nov 2006 23:26:24 +0000 (+0100) Subject: ieee1394: ohci1394: call PMac code in shutdown only for proper machines X-Git-Tag: v2.6.20-rc1~34^2~412^2^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=63cca59e89892497e95e1e9c7156d3345fb7e2e8;p=linux-2.6-omap-h63xx.git ieee1394: ohci1394: call PMac code in shutdown only for proper machines There has been an if(...) missing, for ages. Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 3c9dc7d2441..628130a58af 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) {