From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 31.mail-out.ovh.net ([213.186.62.10]) by bombadil.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1OgTf8-00075t-0F for barebox@lists.infradead.org; Wed, 04 Aug 2010 02:24:58 +0000 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 4 Aug 2010 04:20:14 +0200 Message-Id: <1280888414-22759-1-git-send-email-plagnioj@jcrosoft.com> 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] init.h: introduce fake define (__init & __initdata) to simplify the linux sync To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- 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