PCI: Make local functions static
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 11 Jan 2014 00:14:48 +0000 (17:14 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 13 Jan 2014 18:57:29 +0000 (11:57 -0700)
commit0b950f0f3c67e42f18c655a3ab3e36ea192635bb
tree65094ce9f4b053c0188ad08466da914a0386087d
parente2760c54a4f5131867bf1b35d59169267d35d3d0
PCI: Make local functions static

Using 'make namespacecheck' identify code which should be declared static.
Checked for users in other driver/archs as well.  Compile tested only.

This stops exporting the following interfaces to modules:

    pci_target_state()
    pci_load_saved_state()

[bhelgaas: retained pci_find_next_ext_capability() and pci_cfg_space_size()]
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c
include/linux/pci.h