• Bjorn Helgaas's avatar
    PCI: Remove unnecessary __ref annotations · 10874f5a
    Bjorn Helgaas authored
    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: default avatarBjorn Helgaas <bhelgaas@google.com>
    10874f5a
hotplug-pci.c 702 Bytes