summaryrefslogtreecommitdiffstats
path: root/common/env.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-08-14 10:15:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-17 09:37:48 +0200
commit0cdde3782e53dbe90cb715ab290f425fee7ecbbc (patch)
tree40668a5a64bc443a426babf6369adaf3b096b049 /common/env.c
parentba13dc4776cfd2bd9bb32817b6d815119ec86a14 (diff)
downloadbarebox-0cdde3782e53dbe90cb715ab290f425fee7ecbbc.tar.gz
put env_push_context into postcore_initcall
env_push_context only needs malloc, so initialize it earlier. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/env.c')
-rw-r--r--common/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env.c b/common/env.c
index 47cef05..defb26b 100644
--- a/common/env.c
+++ b/common/env.c
@@ -81,7 +81,7 @@ int env_push_context(void)
return 0;
}
-device_initcall(env_push_context);
+postcore_initcall(env_push_context);
/**
* FIXME