Thread (10 messages) 10 messages, 5 authors, 2014-12-28

[RFC PATCH v2] drivers: pci: move PCI domain assignment to generic PCI code

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-11-12 14:38:26
Also in: linux-devicetree, linux-pci

On Wednesday 12 November 2014 14:14:29 Lorenzo Pieralisi wrote:
quoted
Since this is now in the file in which it gets called, you can mark the
function itself as 'static' and remove the extern declaration and inline
wrapper from the header file. You can also avoid the #ifdef by doing
It is not, it is in driver/pci/pci.c, it is called in probe.c.

Maybe I can move the function to probe.c, but this would leave the
domain handling in two separate files.

I can't remove the #ifdeffery in that domain_nr in pci_bus is #ifdeffed
too, unless I remove that #ifdef and I compile it in all the time.
Right, I see. Unless Bjorn has some other preference, I'd just leave it
with your current version then.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help