linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 2/2] MIPS: AR7: replace prom_getcmdline() to arcs_cmdline[]
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Tue, 26 Jan 2010 18:08:34 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=MpVqDqGK4NA7Uaxej60xR/yrvaIcmsguXBl4h5GIil8=; b=W7KODSLw8cnJGxR3GLJ0+tLSDqKhqNe12xzpiwgcahMgF34Hl11zeO6Vxl98TtjbMa M79EKGnS8bJPvqqtlTbPbFyQyB1fERlOJazYfxARfi0x8KvlRwsEjDS50W8gLoJpX1EO hBZo5QdTEaV8JyHSBV8Ox165AqBnVMGp32WuE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; b=hqTgJJh9j5gsQ9F/f7RREDVZiw4NGPLLb4roCZ8NfMeTto+3hljl/7whSkjPhWh6ny l3JaW5ZdF1OyQSOAULsUMfz1Io7WTg/CfB/cW+fwy5m3OgHbzrgJCKvngdGBA9BEaxUs XE6WutDRV1R0n1+/nf512zkQtPogzbpenD8X0=
In-reply-to: <20100126180702.d47afbcf.yuasa@linux-mips.org>
References: <20100126180702.d47afbcf.yuasa@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 arch/mips/ar7/prom.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index 43b21c0..4d75ff1 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -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");
-- 
1.6.6.1


<Prev in Thread] Current Thread [Next in Thread>