[PATCH 2/3] Fix MPC834x SYS platform to get IRQ data from	device tree and use new IRQ layer
    Benjamin Herrenschmidt 
    benh at kernel.crashing.org
       
    Thu Aug 24 13:46:26 EST 2006
    
    
  
> +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.
    
    
More information about the Linuxppc-dev
mailing list