2005-09-13 20:22:40

by Alex Romosan

[permalink] [raw]
Subject: type in include/linux/mod_devicetable.h?

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. |