projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index 4ed2107bc020f68e257e46d318e402b4bfecf4de..2f0299a448f68687e0bf430c3f531f07fbe029d2 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;