MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]
authorYoichi Yuasa <yuasa@linux-mips.org>
Tue, 26 Jan 2010 09:08:34 +0000 (18:08 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:15 +0000 (12:53 +0100)
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>
arch/mips/ar7/prom.c

index f5a6ed6deb3ff6abf7fd8543f50b5738e2b65ff8..b7bccf7b194e6ac25f573d3d7b324e8699135ddd 100644 (file)
@@ -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;
@@ -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");