[PATCH] headers 2/4: Include linux/compiler.h for __user

From: GOTO Masanori
Date: Sun Jun 19 2005 - 23:55:38 EST


This patch lets 2.6.12 i2c-dev.h include linux/compiler.h so that
__user is defined.

Signed-off-by: GOTO Masanori <gotom@xxxxxxxxxxxx>

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