Commit 9fd4c4f4 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle

MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]

Signed-off-by: default avatarYoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/872/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 9feb8367
...@@ -49,11 +49,6 @@ char *prom_getenv(const char *name) ...@@ -49,11 +49,6 @@ char *prom_getenv(const char *name)
} }
EXPORT_SYMBOL(prom_getenv); EXPORT_SYMBOL(prom_getenv);
char * __init prom_getcmdline(void)
{
return &(arcs_cmdline[0]);
}
static void __init ar7_init_cmdline(int argc, char *argv[]) static void __init ar7_init_cmdline(int argc, char *argv[])
{ {
int i; int i;
...@@ -206,7 +201,7 @@ static void __init console_config(void) ...@@ -206,7 +201,7 @@ static void __init console_config(void)
char parity = '\0', bits = '\0', flow = '\0'; char parity = '\0', bits = '\0', flow = '\0';
char *s, *p; char *s, *p;
if (strstr(prom_getcmdline(), "console=")) if (strstr(arcs_cmdline, "console="))
return; return;
s = prom_getenv("modetty0"); s = prom_getenv("modetty0");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment