diff options
author | Ryan Desfosses <ryan@desfo.org> | 2014-04-25 14:32:25 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-06-10 13:36:10 -0600 |
commit | b7fe943421396b61b9f7a97c2554ed999e0f3658 (patch) | |
tree | 2f18bf6af90db4df0d6c5d6b6e27692626c8414c /drivers/pci/bus.c | |
parent | 843a85ced99b9c8f8221f11d5cbcc56c2dae2842 (diff) | |
download | linux-next-b7fe943421396b61b9f7a97c2554ed999e0f3658.tar.gz |
PCI: Move EXPORT_SYMBOL so it immediately follows function/variable
Move EXPORT_SYMBOL so it immediately follows the function or variable.
No functional change.
[bhelgaas: squash similar changes, fix hotplug, probe, rom, search, too]
Signed-off-by: Ryan Desfosses <ryan@desfo.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/bus.c')
-rw-r--r-- | drivers/pci/bus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 447d393725e1..73aef51a28f0 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -226,6 +226,7 @@ int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, type_mask, alignf, alignf_data, &pci_32_bit); } +EXPORT_SYMBOL(pci_bus_alloc_resource); void __weak pcibios_resource_survey_bus(struct pci_bus *bus) { } @@ -253,6 +254,7 @@ void pci_bus_add_device(struct pci_dev *dev) dev->is_added = 1; } +EXPORT_SYMBOL_GPL(pci_bus_add_device); /** * pci_bus_add_devices - start driver for PCI devices @@ -279,6 +281,7 @@ void pci_bus_add_devices(const struct pci_bus *bus) pci_bus_add_devices(child); } } +EXPORT_SYMBOL(pci_bus_add_devices); /** pci_walk_bus - walk devices on/under bus, calling callback. * @top bus whose devices should be walked @@ -344,6 +347,3 @@ void pci_bus_put(struct pci_bus *bus) } EXPORT_SYMBOL(pci_bus_put); -EXPORT_SYMBOL(pci_bus_alloc_resource); -EXPORT_SYMBOL_GPL(pci_bus_add_device); -EXPORT_SYMBOL(pci_bus_add_devices); |