]> Pileus Git - ~andy/linux/commit
PCI: Reorder so actual code comes before stubs
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Jan 2014 00:01:11 +0000 (17:01 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Jan 2014 00:01:11 +0000 (17:01 -0700)
commit4c85980429f2769bd11c91c7cd90d297aef31fbd
tree2a73c4e6e09a6047128e56f48102c83671b42a39
parent597db6f38c4bcb90406d4e2f56446ba5a5dc20c6
PCI: Reorder so actual code comes before stubs

Consistently use the:

    #ifdef CONFIG_PCI_FOO
    int pci_foo(...);
    #else
    static inline int pci_foo(...) { return -1; }
    #endif

pattern, instead of sometimes using "#ifndef CONFIG_PCI_FOO".

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-label.c
include/linux/pci.h