Skip to content

Commit

Permalink
MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/872/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Feb 27, 2010
1 parent 9feb836 commit 9fd4c4f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions arch/mips/ar7/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ char *prom_getenv(const char *name)
}
EXPORT_SYMBOL(prom_getenv);

char * __init prom_getcmdline(void)
{
return &(arcs_cmdline[0]);
}

static void __init ar7_init_cmdline(int argc, char *argv[])
{
int i;
Expand Down Expand Up @@ -206,7 +201,7 @@ static void __init console_config(void)
char parity = '\0', bits = '\0', flow = '\0';
char *s, *p;

if (strstr(prom_getcmdline(), "console="))
if (strstr(arcs_cmdline, "console="))
return;

s = prom_getenv("modetty0");
Expand Down

0 comments on commit 9fd4c4f

Please sign in to comment.