summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6/files/arch/mips
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 15:12:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-20 15:12:12 +0000
commit6e52da3bc7920c458309c487218fbfdc75fc0ef7 (patch)
treeea694a8007699332dfdc2c0811290440635ca60c /target/linux/ar7-2.6/files/arch/mips
parent704ec3531351d45a54ddb8a74b7d13476e54f477 (diff)
remove __init from prom_getenv()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7012 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7-2.6/files/arch/mips')
-rw-r--r--target/linux/ar7-2.6/files/arch/mips/ar7/prom.c2
1 files changed, 1 insertions, 1 deletions
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++)