]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Remove unnecessary __ref annotations
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Apr 2014 22:11:40 +0000 (16:11 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Apr 2014 23:36:44 +0000 (17:36 -0600)
commitc86bfa25475915f21760eda9ab54fdd6a8f404d4
tree541dabfbf3bf3e8dc3419e8a643d7b7db7b83a79
parent4956e09eafdc6fc929a72caa304ee56a627f01ab
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:

  b40cb13ef7f3 Remove __dev* markings from init.h
  d8c602fadd3e PCI: add generic pci_hp_add_bridge()
  747fe63597d9 PCI: fix section mismatch warning in pci_scan_child_bus
  d146e16ade85 PCI: fix 4x section mismatch warnings

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug-pci.c
drivers/pci/hotplug/acpiphp_glue.c
drivers/pci/hotplug/cpci_hotplug_pci.c
drivers/pci/hotplug/shpchp_pci.c
drivers/pci/pci.h
drivers/pci/probe.c
drivers/pci/setup-bus.c