mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02: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:
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user