Skip to content

Commit e15ac20

Browse files
kwilczynskibjorn-helgaas
authored andcommitted
x86/PCI: Add pci_numachip_init() declaration
numachip.c defines pci_numachip_init(), but neglected to include its declaration, causing the following sparse and compile time warnings: arch/x86/pci/numachip.c:108:12: warning: no previous prototype for function 'pci_numachip_init' [-Wmissing-prototypes] arch/x86/pci/numachip.c:108:12: warning: symbol 'pci_numachip_init' was not declared. Should it be static? Include asm/numachip/numachip.h, which includes the missing declaration. Link: https://lore.kernel.org/r/20210812171717.1471243-1-kw@linux.com Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent e73f0f0 commit e15ac20

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/x86/pci/numachip.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <linux/pci.h>
1414
#include <asm/pci_x86.h>
15+
#include <asm/numachip/numachip.h>
1516

1617
static u8 limit __read_mostly;
1718

0 commit comments

Comments
 (0)