summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-05-22 07:56:12 -0500
committerBjorn Helgaas <helgaas@kernel.org>2018-05-22 07:56:12 -0500
commitf242132bc440c71dd82dcb2112c95c97fffea976 (patch)
tree005103b9ecf225eb3cd60197f45b811fbdbae479 /arch/xtensa
parent99efbb86de888192e51c10273685193703bb6828 (diff)
downloadlinux-stable-f242132bc440c71dd82dcb2112c95c97fffea976.tar.gz
linux-stable-f242132bc440c71dd82dcb2112c95c97fffea976.tar.bz2
linux-stable-f242132bc440c71dd82dcb2112c95c97fffea976.zip
xtensa/PCI: Make variables static
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>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/pci.c b/arch/xtensa/kernel/pci.c
index d451b4f5b1e0..e121b555fdb4 100644
--- a/arch/xtensa/kernel/pci.c
+++ b/arch/xtensa/kernel/pci.c
@@ -41,8 +41,8 @@
* pci_bus_add_device
*/
-struct pci_controller* pci_ctrl_head;
-struct pci_controller** pci_ctrl_tail = &pci_ctrl_head;
+static struct pci_controller *pci_ctrl_head;
+static struct pci_controller **pci_ctrl_tail = &pci_ctrl_head;
static int pci_bus_count;