Skip to contentSkip to conversation

xen/pci: make xen_msi_init() static

PATCH New Jason Yan 1 participant 1 message Apr 17, 2020

Subsystems (3)
lore
Share & tools
lore

Jason Yan

author
#0 lore raw

PATCH 1/1 xen/pci: make xen_msi_init() static

Fix the following sparse warning:

arch/x86/pci/xen.c:426:13: warning: symbol 'xen_msi_init' was not declared. Should it be static?

---
 arch/x86/pci/xen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/pci/xen.c +1 -1
index 91220cc25854..0d06f12ccd74 100644
@@ -423,7 +423,7 @@ int __init pci_xen_init(void)
 }
 
 #ifdef CONFIG_PCI_MSI
-void __init xen_msi_init(void)
+static void __init xen_msi_init(void)
 {
 	if (!disable_apic) {
 		/*
Signature · 1 line
2.21.1