MIPS: pci-rt2880: make pcibios_init() static

This function is only used in the current source file. Mark it as
static to fix the compilation error:

arch/mips/pci/pci-rt2880.c:267:12: error: no previous prototype for 'pcibios_init' [-Werror=missing-prototypes]
  267 | int __init pcibios_init(void)
      |            ^~~~~~~~~~~~

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Mieczyslaw Nalewaj 2025-06-18 23:40:26 +08:00 committed by Thomas Bogendoerfer
parent f13e645e15
commit de94259d06

View File

@ -264,7 +264,7 @@ static struct platform_driver rt288x_pci_driver = {
},
};
int __init pcibios_init(void)
static int __init pcibios_init(void)
{
int ret = platform_driver_register(&rt288x_pci_driver);