mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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:
parent
f13e645e15
commit
de94259d06
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user