mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-27 04:13:14 -04:00
MIPS: lantiq: xway: mark dcdc_init() as static
Fix the following missing-prototypes build warning:
arch/mips/lantiq/xway/dcdc.c:49:12: error: no previous prototype for 'dcdc_init' [-Werror=missing-prototypes]
49 | int __init dcdc_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
50162a0c6e
commit
c714186deb
@@ -46,7 +46,7 @@ static struct platform_driver dcdc_driver = {
|
||||
},
|
||||
};
|
||||
|
||||
int __init dcdc_init(void)
|
||||
static int __init dcdc_init(void)
|
||||
{
|
||||
int ret = platform_driver_register(&dcdc_driver);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user