2
0

0068-fix-ralink-prom.c 672 B

123456789101112131415161718192021222324252627282930
  1. --- a/arch/mips/ralink/prom.c
  2. +++ b/arch/mips/ralink/prom.c
  3. @@ -30,8 +30,10 @@ const char *get_system_type(void)
  4. return soc_info.sys_type;
  5. }
  6. -static __init void prom_init_cmdline(int argc, char **argv)
  7. +static __init void prom_init_cmdline(void)
  8. {
  9. + int argc;
  10. + char **argv;
  11. int i;
  12. pr_debug("prom: fw_arg0=%08x fw_arg1=%08x fw_arg2=%08x fw_arg3=%08x\n",
  13. @@ -60,14 +62,11 @@ static __init void prom_init_cmdline(int
  14. void __init prom_init(void)
  15. {
  16. - int argc;
  17. - char **argv;
  18. -
  19. prom_soc_init(&soc_info);
  20. pr_info("SoC Type: %s\n", get_system_type());
  21. - prom_init_cmdline(argc, argv);
  22. + prom_init_cmdline();
  23. }
  24. void __init prom_free_prom_memory(void)