projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12822bc
)
[PATCH] headers: include linux/compiler.h for __user
author
GOTO Masanori
<gotom@debian.or.jp>
Wed, 29 Jun 2005 03:45:04 +0000
(20:45 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Wed, 29 Jun 2005 04:20:32 +0000
(21:20 -0700)
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>
include/linux/i2c-dev.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/i2c-dev.h
b/include/linux/i2c-dev.h
index d228230ffe5d05d308c4b2e79bd48342a55a6c0d..541695679762c39fffcec3d1228efacb05a51e2d 100644
(file)
--- a/
include/linux/i2c-dev.h
+++ b/
include/linux/i2c-dev.h
@@
-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! */