Return-Path: Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.vr.in-berlin.de", Issuer "IN-Berlin Server CA (G2)" (not verified)) by ozlabs.org (Postfix) with ESMTP id 5422B67F4F for ; Sat, 11 Nov 2006 10:27:03 +1100 (EST) Date: Sat, 11 Nov 2006 00:26:24 +0100 (CET) From: Stefan Richter Subject: [PATCH update 3/3] ieee1394: ohci1394: call PMac code in shutdown only for proper machines To: linux1394-devel@lists.sourceforge.net In-Reply-To: Message-ID: References: <454DBFE7.3090800@s5r6.in-berlin.de> <1162724083.28571.235.camel@localhost.localdomain> <454DC985.2020203@s5r6.in-berlin.de> <20061106165752.GA25595@aepfle.de> <1162851570.28571.361.camel@localhost.localdomain> <20061107070839.GA31460@aepfle.de> <1162883865.28571.439.camel@localhost.localdomain> <1163200208.4982.193.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Cc: linuxppc-dev@ozlabs.org, Gioele Barabucci , Olaf Hering List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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) {