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>
Showing
- drivers/pci/hotplug/pciehp.h 0 additions, 1 deletiondrivers/pci/hotplug/pciehp.h
- drivers/pci/hotplug/pciehp_core.c 1 addition, 1 deletiondrivers/pci/hotplug/pciehp_core.c
- drivers/pci/pci.c 27 additions, 27 deletionsdrivers/pci/pci.c
- drivers/pci/pci.h 0 additions, 2 deletionsdrivers/pci/pci.h
- drivers/pci/probe.c 56 additions, 55 deletionsdrivers/pci/probe.c
- include/linux/pci.h 0 additions, 5 deletionsinclude/linux/pci.h
Loading
Please register or sign in to comment