Skip to content

Commit

Permalink
[PATCH] headers: include linux/compiler.h for __user
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
GOTO Masanori authored and Linus Torvalds committed Jun 29, 2005
1 parent 12822bc commit 3607d1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/i2c-dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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! */
Expand Down

0 comments on commit 3607d1d

Please sign in to comment.