mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] init.h: introduce fake define (__init & __initdata) to simplify the linux sync
@ 2010-08-04  2:20 Jean-Christophe PLAGNIOL-VILLARD
  2010-08-04  6:50 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-08-04  2:20 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 include/init.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/init.h b/include/init.h
index c5dea07..accc4d0 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) \
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-04 10:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04  2:20 [PATCH] init.h: introduce fake define (__init & __initdata) to simplify the linux sync Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  6:50 ` Baruch Siach
2010-08-04 10:24   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox