From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 58C0F67C24 for ; Thu, 24 Aug 2006 13:46:42 +1000 (EST) Subject: Re: [PATCH 2/3] Fix MPC834x SYS platform to get IRQ data from device tree and use new IRQ layer From: Benjamin Herrenschmidt To: Kim Phillips In-Reply-To: <20060823203937.578cae45.kim.phillips@freescale.com> References: <20060823203937.578cae45.kim.phillips@freescale.com> Content-Type: text/plain Date: Thu, 24 Aug 2006 13:46:26 +1000 Message-Id: <1156391186.8433.168.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > +void __init mpc83xx_pcibios_fixup(void) > +{ > + struct pci_dev *dev = NULL; > + > + /* map all the PCI irqs */ > + dev = NULL; > + for_each_pci_dev(dev) > + pci_read_irq_line(dev); > +} > + Some seriously redundant assignements above :) I'm not even sure we need the initial assignement at all in the first place anyway. Appart from that, looks good. Cheers, Ben.