aboutsummaryrefslogtreecommitdiffstats
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
commit02357c0886cb644763cf2b039878c218bf1aae82 (patch)
treeea694a8007699332dfdc2c0811290440635ca60c /target/linux/ar7-2.6
parent7d93276afa098f1ac84834d0fa16353889200431 (diff)
downloadupstream-02357c0886cb644763cf2b039878c218bf1aae82.tar.gz
upstream-02357c0886cb644763cf2b039878c218bf1aae82.tar.bz2
upstream-02357c0886cb644763cf2b039878c218bf1aae82.zip
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')
-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++)