From 0764c345f7db428ba916fd2b955cceb19ceecf54 Mon Sep 17 00:00:00 2001 From: Marc Reilly Date: Mon, 10 Jan 2011 15:36:50 +1100 Subject: 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 Signed-off-by: Sascha Hauer --- common/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/env.c') diff --git a/common/env.c b/common/env.c index f81bd468ff..b72b5d1f4a 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 -- cgit v1.2.3