summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@outlook.com>2025-06-18 22:53:19 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2025-07-02 13:36:41 +0200
commit50162a0c6e014c4954ee4443109b7a4251b377fc (patch)
tree1f6f9e875edd06ef337cf1bf06aaef7b60270d50
parentcff836f0bb0c53fcf43c12e32ee499cdf7e4a584 (diff)
MIPS: pci: lantiq: marks pcibios_init() as static
Fix the following missing-prototypes build warning: arch/mips/pci/pci-lantiq.c:239:12: error: no previous prototype for 'pcibios_init' [-Werror=missing-prototypes] 239 | int __init pcibios_init(void) | ^~~~~~~~~~~~ Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r--arch/mips/pci/pci-lantiq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
index 68a8cefed420..0e85839b8225 100644
--- a/arch/mips/pci/pci-lantiq.c
+++ b/arch/mips/pci/pci-lantiq.c
@@ -234,7 +234,7 @@ static struct platform_driver ltq_pci_driver = {
},
};
-int __init pcibios_init(void)
+static int __init pcibios_init(void)
{
int ret = platform_driver_register(&ltq_pci_driver);
if (ret)