mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-27 13:42:27 -04:00
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:
committed by
Thomas Bogendoerfer
parent
de521c6d99
commit
e23bd7f95a
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user