Skip to content

Commit

Permalink
x86/PCI: pci, fix section mismatch
Browse files Browse the repository at this point in the history
pcibios_scan_specific_bus calls pci_scan_bus_on_node which is
__devinit. Mark pcibios_scan_specific_bus __devinit as well since
all users are now __init or __devinit.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Jiri Slaby authored and Jesse Barnes committed Jul 30, 2010
1 parent f3ec4f8 commit 73cd3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/pci/legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int __init pci_legacy_init(void)
return 0;
}

void pcibios_scan_specific_bus(int busn)
void __devinit pcibios_scan_specific_bus(int busn)
{
int devfn;
long node;
Expand Down

0 comments on commit 73cd3b4

Please sign in to comment.