9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-08-04 04:20:14 +02:00 committed by Sascha Hauer
parent e2e48bfe48
commit 7b2c0d1595
1 changed files with 6 additions and 0 deletions

View File

@ -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) \