[PATCH] headers: include linux/compiler.h for __user

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

Signed-off-by: GOTO Masanori <gotom@debian.or.jp>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by GOTO Masanori and committed by Linus Torvalds 3607d1df 12822bc2

+1
+1
include/linux/i2c-dev.h
··· 25 #define _LINUX_I2C_DEV_H 26 27 #include <linux/types.h> 28 29 /* Some IOCTL commands are defined in <linux/i2c.h> */ 30 /* Note: 10-bit addresses are NOT supported! */
··· 25 #define _LINUX_I2C_DEV_H 26 27 #include <linux/types.h> 28 + #include <linux/compiler.h> 29 30 /* Some IOCTL commands are defined in <linux/i2c.h> */ 31 /* Note: 10-bit addresses are NOT supported! */