type in include/linux/mod_devicetable.h?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux