summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/pci.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2019-10-07 15:56:09 +0200
committerRussell King <rmk+kernel@armlinux.org.uk>2019-10-27 22:14:40 +0100
commite3c5b36160fd5ac2ca6988e67f3068ae23f4c833 (patch)
tree436288e49709016df3b2caf7602668a672cab943 /arch/arm/include/asm/pci.h
parentARM: 8910/1: fix missing declartion of module_frob_arch_sections (diff)
downloadlinux-e3c5b36160fd5ac2ca6988e67f3068ae23f4c833.tar.xz
linux-e3c5b36160fd5ac2ca6988e67f3068ae23f4c833.zip
ARM: 8911/1: move pcibios_report_status to <asm/pci.h>
Move the pcibios_report_status to <asm/pci.h> include to remove the following sparse warning and to remove the extra definition in the footbrdige dc21285.c driver: arch/arm/kernel/bios32.c:59:6: warning: symbol 'pcibios_report_status' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/pci.h')
-rw-r--r--arch/arm/include/asm/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h
index 0abd389cf0ec..68e6f25784a4 100644
--- a/arch/arm/include/asm/pci.h
+++ b/arch/arm/include/asm/pci.h
@@ -27,5 +27,7 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
return channel ? 15 : 14;
}
+extern void pcibios_report_status(unsigned int status_mask, int warn);
+
#endif /* __KERNEL__ */
#endif