Эх сурвалжийг харах

[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>
Diego Calleja 19 жил өмнө
parent
commit
fd2e54b35b

+ 1 - 1
include/linux/mod_devicetable.h

@@ -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;