From 327b4128ad9f74fd106b79314eed72b6535c8d43 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Jul 2007 18:01:58 +0200 Subject: svn_rev_486 --- arch/arm/lib/armlinux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/arm/lib') diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c index 760a7fb56a..5b44145463 100644 --- a/arch/arm/lib/armlinux.c +++ b/arch/arm/lib/armlinux.c @@ -46,7 +46,7 @@ static void setup_start_tag (void); # ifdef CONFIG_SETUP_MEMORY_TAGS static void setup_memory_tags (void); # endif -static void setup_commandline_tag (char *commandline); +static void setup_commandline_tag (const char *commandline); # ifdef CONFIG_INITRD_TAG static void setup_initrd_tag (ulong initrd_start, @@ -82,7 +82,7 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], image_header_t *hdr = &header; #ifdef CONFIG_CMDLINE_TAG - char *commandline = getenv ("bootargs"); + const char *commandline = getenv ("bootargs"); #endif theKernel = (void (*)(int, int, uint))ntohl(hdr->ih_ep); @@ -298,9 +298,9 @@ static void setup_memory_tags (void) #endif /* CONFIG_SETUP_MEMORY_TAGS */ -static void setup_commandline_tag (char *commandline) +static void setup_commandline_tag (const char *commandline) { - char *p; + const char *p; if (!commandline) return; -- cgit v1.2.3