提交 fd2e54b3 编写于 作者: D Diego Calleja 提交者: Linus Torvalds

[PATCH] trivial #if -> #ifdef

Use '#ifdef' consistently on __KERNEL__.  This was reported as bug #5340
(isn't easier to send a fix than report the bug?!)
Signed-off-by: NDiego Calleja <diegocg@gmail.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 2d8ab6ad
...@@ -183,7 +183,7 @@ struct of_device_id ...@@ -183,7 +183,7 @@ struct of_device_id
char name[32]; char name[32];
char type[32]; char type[32];
char compatible[128]; char compatible[128];
#if __KERNEL__ #ifdef __KERNEL__
void *data; void *data;
#else #else
kernel_ulong_t data; kernel_ulong_t data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册