MIPS: Loongson: Move prom_argc and prom_argv into prom_init_cmdline()
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 4 Jan 2010 09:16:47 +0000 (17:16 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:10 +0000 (12:53 +0100)
commit97e6a89634befaf5bd66d3044d36961c887cd98c
treef976d7ce7e8c379aec35d544ecc89f564b57372b
parentc7e8c668b09a27879e8b45d2a613fb5acdf9f8a3
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: Wu 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: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/cmdline.c