[PATCH V2 3/3] powerpc/pci: Merge ppc32 and ppc64 versions of phb_scan()

Kumar Gala galak at kernel.crashing.org
Wed Aug 26 23:29:08 EST 2009


On Aug 26, 2009, at 1:07 AM, Grant Likely wrote:

> +/**
> + * pci_scan_phb - Given a pci_controller, setup and scan the PCI bus
> + * @hose: Pointer to the PCI host controller instance structure
> + * @data: value to use for sysdata pointer.  ppc32 and ppc64 differ  
> here
> + *
> + * Note: the 'data' pointer is a temporary measure.  As 32 and 64 bit
> + * pci code gets merged, this parameter should become unnecessary  
> because
> + * both will use the same value.
> + */
> +void __devinit pcibios_scan_phb(struct pci_controller *hose, void  
> *data)
> +{
> +

Just a nit, but why not data -> sysdata since that's what we using it  
as.

- k


More information about the Linuxppc-dev mailing list