projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99efbb8
)
xtensa/PCI: Make variables static
author
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 22 May 2018 12:56:12 +0000
(07:56 -0500)
committer
Bjorn Helgaas
<helgaas@kernel.org>
Tue, 22 May 2018 12:56:12 +0000
(07:56 -0500)
Make these variables static, since they're only used in this file:
pci_ctrl_head
pci_ctrl_tail
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/xtensa/kernel/pci.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/pci.c
b/arch/xtensa/kernel/pci.c
index
d451b4f
..
e121b55
100644
(file)
--- a/
arch/xtensa/kernel/pci.c
+++ b/
arch/xtensa/kernel/pci.c
@@
-41,8
+41,8
@@
* pci_bus_add_device
*/
-st
ruct pci_controller*
pci_ctrl_head;
-st
ruct pci_controller**
pci_ctrl_tail = &pci_ctrl_head;
+st
atic struct pci_controller *
pci_ctrl_head;
+st
atic struct pci_controller **
pci_ctrl_tail = &pci_ctrl_head;
static int pci_bus_count;