Skip to contentSkip to conversation

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

PATCH New GOTO Masanori 1 participant 1 message Jun 20, 2005 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Regards,
-- gotom

 i2c-dev.h |    1 +
 1 files changed, 1 insertion(+)
include/linux/i2c-dev.h +1 -0
@@ -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! */