[PATCH] missing ifdef in mod_devicetable.h for 2.6.14-rc3

From: Alex Romosan
Date: Sat Oct 01 2005 - 10:04:53 EST


this was introduced in rc1 and is still present in rc3. without the
patch below i can't compile alsa cvs.

--- a/include/linux/mod_devicetable.h 2005-09-13 13:49:17.000000000 -0700
+++ b/include/linux/mod_devicetable.h 2005-09-13 13:49:43.000000000 -0700
@@ -183,7 +183,7 @@
char name[32];
char type[32];
char compatible[128];
-#if __KERNEL__
+#ifdef __KERNEL__
void *data;
#else
kernel_ulong_t data;

--alex--

--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/