[PATCH V3 1/2] PCI: retrieve host bridge by PCI bus
shangw at linux.vnet.ibm.com
Tue Jun 26 13:01:11 EST 2012
>> >> +EXPORT_SYMBOL(pci_bus_host_bridge);
>> Yinghai, thanks for your time on this :-)
>> >why do you need to export it?
>> The reason is that we have introduced extra fields to "struct
>> in [PATCH 2/2] and platform want to access those extra fields.
>But the platform code is built-in, not modular, so it doesn't need
>EXPORT_SYMBOL (additionally even if we wanted to export it we probably
>also want it _GPL only, so EXPORT_SYMBOL_GPL, but I don't think we need
Ben, thanks for correcting me :-)
Let me remove EXPORT_SYMBOL() is next revision.
More information about the Linuxppc-dev