aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ar7
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-01-26 04:08:34 -0500
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 06:53:15 -0500
commit9fd4c4f40fecbe3923331eac045af06f369a86f2 (patch)
treed179cc47072bdaa4f3f7dbd2f27ca9333447b703 /arch/mips/ar7
parent9feb8367999265b8a300cb96e7a66f79b651c820 (diff)
MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]
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>
Diffstat (limited to 'arch/mips/ar7')
-rw-r--r--arch/mips/ar7/prom.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index f5a6ed6deb3f..b7bccf7b194e 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -49,11 +49,6 @@ char *prom_getenv(const char *name)
49} 49}
50EXPORT_SYMBOL(prom_getenv); 50EXPORT_SYMBOL(prom_getenv);
51 51
52char * __init prom_getcmdline(void)
53{
54 return &(arcs_cmdline[0]);
55}
56
57static void __init ar7_init_cmdline(int argc, char *argv[]) 52static void __init ar7_init_cmdline(int argc, char *argv[])
58{ 53{
59 int i; 54 int i;
@@ -206,7 +201,7 @@ static void __init console_config(void)
206 char parity = '\0', bits = '\0', flow = '\0'; 201 char parity = '\0', bits = '\0', flow = '\0';
207 char *s, *p; 202 char *s, *p;
208 203
209 if (strstr(prom_getcmdline(), "console=")) 204 if (strstr(arcs_cmdline, "console="))
210 return; 205 return;
211 206
212 s = prom_getenv("modetty0"); 207 s = prom_getenv("modetty0");