summaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-10 23:37:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:46 +0200
commitdb0d705898f5bcca10a916dbed1b3f2e5e6212a1 (patch)
tree6ee98eabfcfa376d43f7d30e1933e209196fad64 /include/init.h
parent4b34297cfbf8b6d88a602898f0db05b5bf5bf8fd (diff)
downloadbarebox-db0d705898f5bcca10a916dbed1b3f2e5e6212a1.tar.gz
move some init work into initcalls
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/init.h b/include/init.h
index 6ddca921eb..eb606f3ce3 100644
--- a/include/init.h
+++ b/include/init.h
@@ -12,8 +12,9 @@ typedef int (*initcall_t)(void);
#define postcore_initcall(fn) __define_initcall("1",fn,1)
#define console_initcall(fn) __define_initcall("2",fn,2)
#define coredevice_initcall(fn) __define_initcall("4",fn,4)
-#define device_initcall(fn) __define_initcall("5",fn,5)
-#define late_initcall(fn) __define_initcall("6",fn,6)
+#define fs_initcall(fn) __define_initcall("5",fn,5)
+#define device_initcall(fn) __define_initcall("6",fn,6)
+#define late_initcall(fn) __define_initcall("7",fn,7)
/* section for code used very early when
* - we're not running from where we linked at