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:
parent
e2e48bfe48
commit
7b2c0d1595
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue