[PATCH 3/8] globalvar: move globalvar init to pure_initcall
Sascha Hauer
s.hauer at pengutronix.de
Thu Aug 15 03:28:56 EDT 2013
globalvar has no dependencies. Move it to pure_initcall to
make it available earlier.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/globalvar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/globalvar.c b/common/globalvar.c
index 545b34f..edb66dd 100644
--- a/common/globalvar.c
+++ b/common/globalvar.c
@@ -83,6 +83,6 @@ static int globalvar_init(void)
return 0;
}
-postconsole_initcall(globalvar_init);
+pure_initcall(globalvar_init);
BAREBOX_MAGICVAR_NAMED(global_version, global.version, "The barebox version");
--
1.8.4.rc2
More information about the barebox
mailing list