mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01: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:
parent
50162a0c6e
commit
c714186deb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue