[PATCH] trivial #if -> #ifdef
authorDiego Calleja <diegocg@gmail.com>
Sat, 1 Oct 2005 15:00:48 +0000 (17:00 +0200)
committerLinus 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

index 4ed2107..2f0299a 100644 (file)
@@ -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;