projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8ab6a
)
[PATCH] trivial #if -> #ifdef
author
Diego Calleja
<diegocg@gmail.com>
Sat, 1 Oct 2005 15:00:48 +0000
(17:00 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 1 Oct 2005 17:54:47 +0000
(10:54 -0700)
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: Diego Calleja <diegocg@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mod_devicetable.h
patch
|
blob
|
history
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index
4ed2107
..
2f0299a
100644
(file)
--- a/
include/linux/mod_devicetable.h
+++ b/
include/linux/mod_devicetable.h
@@
-183,7
+183,7
@@
struct of_device_id
char name[32];
char type[32];
char compatible[128];
-#if __KERNEL__
+#if
def
__KERNEL__
void *data;
#else
kernel_ulong_t data;