Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97e6a896 authored by Wu Zhangjin's avatar Wu Zhangjin Committed by Ralf Baechle
Browse files

MIPS: Loongson: Move prom_argc and prom_argv into prom_init_cmdline()



prom_argc and prom_argv are only used by prom_init_cmdline(), move them
into the function.

Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/825/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c7e8c668
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -21,12 +21,11 @@

#include <loongson.h>

void __init prom_init_cmdline(void)
{
	int prom_argc;
	/* pmon passes arguments in 32bit pointers */
	int *_prom_argv;

void __init prom_init_cmdline(void)
{
	int i;
	long l;