summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-20 15:12:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-20 15:12:12 +0000
commite7fb93b24833c3525fff65f5d847c5d729abfb6b (patch)
tree68fcd3320230db008bea45de1d4b4acb4ad3057e /target/linux/ar7-2.6
parentae925a8f7244bfc78c9f3a17c027a4f273a44032 (diff)
downloadmtk-20170518-e7fb93b24833c3525fff65f5d847c5d729abfb6b.zip
mtk-20170518-e7fb93b24833c3525fff65f5d847c5d729abfb6b.tar.gz
mtk-20170518-e7fb93b24833c3525fff65f5d847c5d729abfb6b.tar.bz2
remove __init from prom_getenv()
SVN-Revision: 7012
Diffstat (limited to 'target/linux/ar7-2.6')
-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 e613164..d19714c 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++)