From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pv0-f177.google.com ([74.125.83.177]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Pc9VJ-0005oP-D1 for barebox@lists.infradead.org; Mon, 10 Jan 2011 04:37:14 +0000 Received: by pvg7 with SMTP id 7so3905660pvg.36 for ; Sun, 09 Jan 2011 20:37:12 -0800 (PST) From: Marc Reilly Date: Mon, 10 Jan 2011 15:36:50 +1100 Message-Id: <1294634212-29029-2-git-send-email-marc@cpdesign.com.au> In-Reply-To: <1294634212-29029-1-git-send-email-marc@cpdesign.com.au> References: <1294634212-29029-1-git-send-email-marc@cpdesign.com.au> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/3] Init env context a bit earlier in initalization sequence. To: barebox@lists.infradead.org Ensures subsequent init functions to export environment variables during init without having to rely on linking order being correct. Signed-off-by: Marc Reilly --- common/env.c | 2 +- 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 -- 1.7.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox