MIPS: lantiq: xway: gptu: mark gptu_init() as static

Fix the following missing-prototypes warning:

arch/mips/lantiq/xway/gptu.c:197:12: error: no previous prototype for 'gptu_init' [-Werror=missing-prototypes]
  197 | int __init gptu_init(void)
      |            ^~~~~~~~~

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Shiji Yang
2025-06-18 22:53:24 +08:00
committed by Thomas Bogendoerfer
parent de521c6d99
commit e23bd7f95a

View File

@@ -194,7 +194,7 @@ static struct platform_driver dma_driver = {
},
};
int __init gptu_init(void)
static int __init gptu_init(void)
{
int ret = platform_driver_register(&dma_driver);