summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-08-04 04:20:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-08-06 19:12:07 +0200
commit7b2c0d1595ea29119f75768949c824b22f3a4254 (patch)
treea1d2eca4e8ecd102b02ac08d70229b38ae5b65a3 /include
parente2e48bfe48aa2406c494b448e69e66124f9c006a (diff)
downloadbarebox-7b2c0d1595ea29119f75768949c824b22f3a4254.tar.gz
barebox-7b2c0d1595ea29119f75768949c824b22f3a4254.tar.xz
init.h: introduce fake define (__init & __initdata) to simplify the linux sync
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/init.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h
index c5dea075b8..accc4d0e57 100644
--- a/include/init.h
+++ b/include/init.h
@@ -1,6 +1,12 @@
#ifndef _INIT_H
#define _INIT_H
+/*
+ * fake define to simplify the linux sync
+ */
+#define __init
+#define __initdata
+
typedef int (*initcall_t)(void);
#define __define_initcall(level,fn,id) \