From 6e52da3bc7920c458309c487218fbfdc75fc0ef7 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 20 Apr 2007 15:12:12 +0000 Subject: remove __init from prom_getenv() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7012 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7-2.6/files/arch/mips/ar7/prom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar7-2.6/files/arch/mips') 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++) -- cgit v1.2.3