Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3607d1df authored by GOTO Masanori's avatar GOTO Masanori Committed by Linus Torvalds
Browse files

[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: default avatarGOTO Masanori <gotom@debian.or.jp>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 12822bc2
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -25,6 +25,7 @@
#define _LINUX_I2C_DEV_H
#define _LINUX_I2C_DEV_H


#include <linux/types.h>
#include <linux/types.h>
#include <linux/compiler.h>


/* Some IOCTL commands are defined in <linux/i2c.h> */
/* Some IOCTL commands are defined in <linux/i2c.h> */
/* Note: 10-bit addresses are NOT supported! */
/* Note: 10-bit addresses are NOT supported! */