Thread (7 messages) 7 messages, 3 authors, 2012-06-26

Re: [PATCH V3 1/2] PCI: retrieve host bridge by PCI bus

From: Gavin Shan <hidden>
Date: 2012-06-26 03:01:20
Also in: linux-pci

quoted
quoted
quoted
+EXPORT_SYMBOL(pci_bus_host_bridge);
Yinghai, thanks for your time on this :-)
quoted
why do you need to export it?
The reason is that we have introduced extra fields to "struct
pci_host_bridge"
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
to).
Ben, thanks for correcting me :-)

Let me remove EXPORT_SYMBOL() is next revision.
Cheers,
Ben.
Thanks,
Gavin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help