Commit 63cca59e authored by Stefan Richter's avatar Stefan Richter
Browse files

ieee1394: ohci1394: call PMac code in shutdown only for proper machines



There has been an if(...) missing, for ages.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 5370f1f5
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment