浏览代码

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

There has been an if(...) missing, for ages.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Stefan Richter 18 年之前
父节点
当前提交
63cca59e89
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ieee1394/ohci1394.c

+ 1 - 1
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) {