From: Jim Cromie Date: Tue, 27 Jun 2006 09:54:25 +0000 (-0700) Subject: [PATCH] gpio-patchset-fixups: include linux/io.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec312310e43acd5bb8b49314c6d472bb60d2d30c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 @@ #include #include #include +#include #include #include #include #include #include -#include #define DEVNAME "pc8736x_gpio"