From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 20 Apr 2007 15:12:12 +0000 (+0000)
Subject: remove __init from prom_getenv()
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/6e52da3bc7920c458309c487218fbfdc75fc0ef7

remove __init from prom_getenv()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7012 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

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 e613164f0..d19714c85 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++)