From e7fb93b24833c3525fff65f5d847c5d729abfb6b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 Apr 2007 15:12:12 +0000 Subject: [PATCH] remove __init from prom_getenv() SVN-Revision: 7012 --- target/linux/ar7-2.6/files/arch/mips/ar7/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c b/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c index e613164f06..d19714c85b 100644 --- a/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c +++ b/target/linux/ar7-2.6/files/arch/mips/ar7/prom.c @@ -107,7 +107,7 @@ static __initdata struct psp_chip_map psp_chip_map[] = { static struct env_var adam2_env[MAX_ENTRY] = { { 0, }, }; -char * __init prom_getenv(char *name) +char * prom_getenv(char *name) { int i; for (i = 0; (i < MAX_ENTRY) && adam2_env[i].name; i++)