diff options
author | Alex Chiang <achiang@hp.com> | 2009-04-01 18:24:12 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-04-06 11:26:07 -0700 |
commit | 5446a6bdb51e71da7a203e395b0b4c668d559a3a (patch) | |
tree | ac403024a02a2285defd433da068dc4415af0fbe /drivers/pci/access.c | |
parent | 52a8873ba4e82d6e87f8478b3e7f9c12d8b37c38 (diff) |
PCI: annotate pci_rescan_bus as __ref, not __devinit
pci_rescan_bus was annotated as __devinit, which is wrong,
because it will never be part of device initialization.
Howevever, we can't simply drop the annotation, because then we
get section warnings about calling pci_scan_child_bus (which is
correctly marked as __devinit).
pci_rescan_bus will only get built when CONFIG_HOTPLUG is set,
meaning that __devinit is a nop, so we know that pci_scan_child_bus
has not been freed.
Annotate as __ref to silence modpost.
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/access.c')
0 files changed, 0 insertions, 0 deletions