aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2006-06-27 05:54:25 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 20:32:43 -0400
commitec312310e43acd5bb8b49314c6d472bb60d2d30c (patch)
tree6cb7101d9150b32b9d06446554a6e870eeb75c04 /drivers/char
parent8bcf6135c3e8cdfab375f4041a48721483519eee (diff)
[PATCH] gpio-patchset-fixups: include linux/io.h
Hmm. Im somewhat ambivalent about this patch, since with it, driver wont build for vanilla 17 or older. Its also only 1/2 of your suggestion - when I tried it, I was building against vanilla 17, and asm/uaccess.h cause compilation failure. Looking back, Im perplexed as to why linux/io.h didnt cause same failure ?!? use linux/io.h rather than asm/io.h Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/pc8736x_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c
index 72dcf222f141..1c706ccfdbb3 100644
--- a/drivers/char/pc8736x_gpio.c
+++ b/drivers/char/pc8736x_gpio.c
@@ -15,12 +15,12 @@
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/kernel.h> 16#include <linux/kernel.h>
17#include <linux/init.h> 17#include <linux/init.h>
18#include <linux/io.h>
18#include <linux/ioport.h> 19#include <linux/ioport.h>
19#include <linux/mutex.h> 20#include <linux/mutex.h>
20#include <linux/nsc_gpio.h> 21#include <linux/nsc_gpio.h>
21#include <linux/platform_device.h> 22#include <linux/platform_device.h>
22#include <asm/uaccess.h> 23#include <asm/uaccess.h>
23#include <asm/io.h>
24 24
25#define DEVNAME "pc8736x_gpio" 25#define DEVNAME "pc8736x_gpio"
26 26