PCI: Remove unnecessary __ref annotations
Some PCI functions used to be marked __devinit. When CONFIG_HOTPLUG was not set, these functions were discarded after boot. A few callers of these __devinit functions were marked __ref to indicate that they could safely call the __devinit functions even though the callers were not __devinit. But CONFIG_HOTPLUG and __devinit are now gone, and the need for the __ref annotations is also gone, so remove them. Relevant historical commits: 54b956b9 Remove __dev* markings from init.h a8e4b9c1 PCI: add generic pci_hp_add_bridge() 0ab2b57f PCI: fix section mismatch warning in pci_scan_child_bus 451124a7 PCI: fix 4x section mismatch warnings Signed-off-by:Bjorn Helgaas <bhelgaas@google.com>
Showing
- drivers/pci/hotplug-pci.c 1 addition, 1 deletiondrivers/pci/hotplug-pci.c
- drivers/pci/hotplug/acpiphp_glue.c 1 addition, 1 deletiondrivers/pci/hotplug/acpiphp_glue.c
- drivers/pci/hotplug/cpci_hotplug_pci.c 1 addition, 1 deletiondrivers/pci/hotplug/cpci_hotplug_pci.c
- drivers/pci/hotplug/shpchp_pci.c 1 addition, 1 deletiondrivers/pci/hotplug/shpchp_pci.c
- drivers/pci/pci.h 4 additions, 4 deletionsdrivers/pci/pci.h
- drivers/pci/probe.c 4 additions, 4 deletionsdrivers/pci/probe.c
- drivers/pci/setup-bus.c 12 additions, 13 deletionsdrivers/pci/setup-bus.c
Loading
Please register or sign in to comment