31 lines
672 B
Diff
31 lines
672 B
Diff
|
--- a/arch/mips/ralink/prom.c
|
||
|
+++ b/arch/mips/ralink/prom.c
|
||
|
@@ -30,8 +30,10 @@ const char *get_system_type(void)
|
||
|
return soc_info.sys_type;
|
||
|
}
|
||
|
|
||
|
-static __init void prom_init_cmdline(int argc, char **argv)
|
||
|
+static __init void prom_init_cmdline(void)
|
||
|
{
|
||
|
+ int argc;
|
||
|
+ char **argv;
|
||
|
int i;
|
||
|
|
||
|
pr_debug("prom: fw_arg0=%08x fw_arg1=%08x fw_arg2=%08x fw_arg3=%08x\n",
|
||
|
@@ -60,14 +62,11 @@ static __init void prom_init_cmdline(int
|
||
|
|
||
|
void __init prom_init(void)
|
||
|
{
|
||
|
- int argc;
|
||
|
- char **argv;
|
||
|
-
|
||
|
prom_soc_init(&soc_info);
|
||
|
|
||
|
pr_info("SoC Type: %s\n", get_system_type());
|
||
|
|
||
|
- prom_init_cmdline(argc, argv);
|
||
|
+ prom_init_cmdline();
|
||
|
}
|
||
|
|
||
|
void __init prom_free_prom_memory(void)
|