--- zzzz-none-000/linux-3.10.107/arch/sparc/include/asm/leon_pci.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/sparc/include/asm/leon_pci.h 2021-02-04 17:41:59.000000000 +0000 @@ -16,7 +16,7 @@ int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin); }; -extern void leon_pci_init(struct platform_device *ofdev, - struct leon_pci_info *info); +void leon_pci_init(struct platform_device *ofdev, + struct leon_pci_info *info); #endif /* _ASM_LEON_PCI_H_ */