
From: Arjan van de Ven <arjanv@redhat.com>

ide.c: constant array of strings can be static


---

 25-akpm/drivers/ide/ide.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/ide/ide.c~stack-reductions-ide drivers/ide/ide.c
--- 25/drivers/ide/ide.c~stack-reductions-ide	2004-03-28 18:52:23.931812400 -0800
+++ 25-akpm/drivers/ide/ide.c	2004-03-28 18:52:23.935811792 -0800
@@ -1889,7 +1889,7 @@ int __init ide_setup (char *s)
 		 * Be VERY CAREFUL changing this: note hardcoded indexes below
 		 * (-8, -9, -10) are reserved to ease the hardcoding.
 		 */
-		const char *ide_words[] = {
+		static const char *ide_words[] = {
 			"noprobe", "serialize", "autotune", "noautotune", 
 			"reset", "dma", "ata66", "minus8", "minus9",
 			"minus10", "four", "qd65xx", "ht6560b", "cmd640_vlb",

_
