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

Grant Likely grant.likely at secretlab.ca
Thu Aug 27 03:52:01 EST 2009


On Wed, Aug 26, 2009 at 7:29 AM, Kumar Gala<galak at kernel.crashing.org> wrote:
>
> 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.

okay.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-dev mailing list