Skip to content

Commit 68d0d97

Browse files
0xAXbjorn-helgaas
authored andcommitted
x86/PCI: Make pci_subsys_init() static
The pci_subsys_init() is a subsys_initcall that can be declared static. Signed-off-by: Alexander Kuleshov <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent b4eb6cd commit 68d0d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/pci/legacy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void pcibios_scan_specific_bus(int busn)
5454
}
5555
EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus);
5656

57-
int __init pci_subsys_init(void)
57+
static int __init pci_subsys_init(void)
5858
{
5959
/*
6060
* The init function returns an non zero value when

0 commit comments

Comments
 (0)