lkml.org 
[lkml]   [2005]   [Jun]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 20 Jun 2005 13:53:41 +0900
FromGOTO Masanori <>
Subject[PATCH] headers 2/4: Include linux/compiler.h for __user
This patch lets 2.6.12 i2c-dev.h include linux/compiler.h so that
__user is defined.

Signed-off-by: GOTO Masanori <gotom@debian.or.jp>

Regards,
-- gotom


 i2c-dev.h |    1 +
 1 files changed, 1 insertion(+)
--- linux-2.6.12/include/linux/i2c-dev.h	2005-06-18 04:48:29.000000000 +0900
+++ linux-2.6.12.gotom/include/linux/i2c-dev.h	2005-06-20 13:12:20.028732305 +0900
@@ -25,6 +25,7 @@
 #define _LINUX_I2C_DEV_H
 
 #include <linux/types.h>
+#include <linux/compiler.h>
 
 /* Some IOCTL commands are defined in <linux/i2c.h> */
 /* Note: 10-bit addresses are NOT supported! */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-06-20 04:58    [from the cache]
©2003-2008