summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDiego Calleja <diegocg@gmail.com>2005-10-01 17:00:48 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-01 19:54:47 +0200
commitfd2e54b35bd70d11c160ded4834e2378e915356e (patch)
tree6396bae6e445cc732ace9792018a14ece9274b0f /include
parent[PATCH] ppc64: fix up()/down() usage for kprobe_mutex (diff)
downloadlinux-fd2e54b35bd70d11c160ded4834e2378e915356e.tar.xz
linux-fd2e54b35bd70d11c160ded4834e2378e915356e.zip
[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: Diego Calleja <diegocg@gmail.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mod_devicetable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 4ed2107bc020..2f0299a448f6 100644
--- 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__
+#ifdef __KERNEL__
void *data;
#else
kernel_ulong_t data;