summaryrefslogtreecommitdiffstats
path: root/common/env.c
diff options
context:
space:
mode:
authorMarc Reilly <marc@cpdesign.com.au>2011-01-10 15:36:50 +1100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-10 20:04:34 +0100
commit0764c345f7db428ba916fd2b955cceb19ceecf54 (patch)
tree97e08150374865f257bac47203b8657727ac9afb /common/env.c
parentfab0a4dbe7bbc5d82c1ab3b26ca02e15c9bcef94 (diff)
downloadbarebox-0764c345f7db428ba916fd2b955cceb19ceecf54.tar.gz
Init env context a bit earlier in initalization sequence.
Ensures subsequent init functions to export environment variables during init without having to rely on linking order being correct. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> 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 f81bd46..b72b5d1 100644
--- a/common/env.c
+++ b/common/env.c
@@ -81,7 +81,7 @@ int env_push_context(void)
return 0;
}
-late_initcall(env_push_context);
+device_initcall(env_push_context);
/**
* FIXME