From 50cc8c5412e804480a10ecdd9546c7b6ad21760e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 4 Apr 2008 11:46:55 +0200 Subject: Subject: [PATCH] [general] Fixed constant strings in data section issue For practical reasons I changed all string literals assumed to be constant to reside in .rodata subsection at end of .text section. Signed-off-by: Carsten Schlote Signed-off-by: Sascha Hauer --- lib/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/driver.c b/lib/driver.c index 27971e883c..f3129c4015 100644 --- a/lib/driver.c +++ b/lib/driver.c @@ -329,7 +329,7 @@ static int do_devinfo ( cmd_tbl_t *cmdtp, int argc, char *argv[]) return 0; } -static __maybe_unused char cmd_devinfo_help[] = +static const __maybe_unused char cmd_devinfo_help[] = "Usage: devinfo [DEVICE]\n" "If called without arguments devinfo shows a summary about known devices and\n" "drivers. If called with a device path as argument devinfo shows more detailed\n" -- cgit v1.2.3