type in include/linux/mod_devicetable.h?

From: Alex Romosan
Date: Tue Sep 13 2005 - 15:23:07 EST


there seems to be a small typo in the above mentioned file (or at
least by gcc (GCC) 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)
doesn't like it). this patch fixes it for me:

--- mod_devicetable.h-orig 2005-09-13 13:15:41.000000000 -0700
+++ mod_devicetable.h 2005-09-13 13:15:54.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/