From: Ben Dooks Date: Mon, 7 Oct 2019 13:56:09 +0000 (+0100) Subject: ARM: 8911/1: move pcibios_report_status to X-Git-Tag: v5.15~4938^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3c5b36160fd5ac2ca6988e67f3068ae23f4c833;p=platform%2Fkernel%2Flinux-starfive.git ARM: 8911/1: move pcibios_report_status to Move the pcibios_report_status to 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 Signed-off-by: Russell King --- diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h index 0abd389..68e6f25 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 diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index 8b81a17..416462e 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c @@ -31,7 +31,6 @@ PCI_STATUS_PARITY) << 16) extern int setup_arm_irq(int, struct irqaction *); -extern void pcibios_report_status(u_int status_mask, int warn); static unsigned long dc21285_base_address(struct pci_bus *bus, unsigned int devfn)