projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4eb6cd
)
x86/PCI: Make pci_subsys_init() static
author
Alexander Kuleshov
<kuleshovmail@gmail.com>
Thu, 8 Oct 2015 18:51:46 +0000
(
00:51
+0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 9 Oct 2015 23:34:48 +0000
(18:34 -0500)
The pci_subsys_init() is a subsys_initcall that can be declared static.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/legacy.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/pci/legacy.c
b/arch/x86/pci/legacy.c
index 5b662c0faf8c2e1848d15d4dced105db9988c7c8..ea6f3802c17b73e8c622c53f68d2414eeb482f98 100644
(file)
--- a/
arch/x86/pci/legacy.c
+++ b/
arch/x86/pci/legacy.c
@@
-54,7
+54,7
@@
void pcibios_scan_specific_bus(int busn)
}
EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus);
-int __init pci_subsys_init(void)
+
static
int __init pci_subsys_init(void)
{
/*
* The init function returns an non zero value when