Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270056AbUJHR4p (ORCPT ); Fri, 8 Oct 2004 13:56:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270052AbUJHRzV (ORCPT ); Fri, 8 Oct 2004 13:55:21 -0400 Received: from e33.co.us.ibm.com ([32.97.110.131]:51436 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id S270056AbUJHRkX (ORCPT ); Fri, 8 Oct 2004 13:40:23 -0400 Date: Fri, 08 Oct 2004 10:40:56 -0700 From: Hanna Linder To: lkml cc: kernel-janitors , greg@kroah.com, hannal@us.ibm.com, paulus@samba.org, anton@samba.org Subject: [PATCH 2.6] pSeries_pci.c replace pci_find_device with pci_get_device Message-ID: <70860000.1097257256@w-hlinder.beaverton.ibm.com> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 30 As pci_find_device is going away I've replaced it with pci_get_device. If someone with a PPC64 system could test it I would appreciate it. Thanks. Hanna Linder IBM Linux Technology Center Signed-off-by: Hanna Linder --- diff -Nrup linux-2.6.9-rc3-mm3cln/arch/ppc64/kernel/pSeries_pci.c linux-2.6.9-rc3-mm3patch3/arch/ppc64/kernel/pSeries_pci.c --- linux-2.6.9-rc3-mm3cln/arch/ppc64/kernel/pSeries_pci.c 2004-10-07 15:54:30.000000000 -0700 +++ linux-2.6.9-rc3-mm3patch3/arch/ppc64/kernel/pSeries_pci.c 2004-10-08 10:24:00.064501400 -0700 @@ -646,7 +646,7 @@ void __init pSeries_final_fixup(void) check_s7a(); - while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { + for_each_pci_dev(dev) { pci_read_irq_line(dev); if (s7a_workaround) { if (dev->irq > 16) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/