public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ patch -mm1 05/11 ] gpio-patchset-fixups: include linux/io.h
@ 2006-06-22 18:51 Jim Cromie
  0 siblings, 0 replies; only message in thread
From: Jim Cromie @ 2006-06-22 18:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux kernel


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 ?!?

----

diff.13-fix-include-linux-io

use linux/io.h rather than asm/io.h

Signed-off-by:   Jim Cromie <jim.cromie@gmail.com>

---

diff -ruNp -X dontdiff -X exclude-diffs 17-mm-pre0/drivers/char/pc8736x_gpio.c 13/drivers/char/pc8736x_gpio.c
--- 17-mm-pre0/drivers/char/pc8736x_gpio.c	2006-06-20 20:42:39.000000000 -0600
+++ 13/drivers/char/pc8736x_gpio.c	2006-06-21 10:31:31.000000000 -0600
@@ -15,12 +15,12 @@
 #include <linux/errno.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/io.h>
 #include <linux/ioport.h>
 #include <linux/mutex.h>
 #include <linux/nsc_gpio.h>
 #include <linux/platform_device.h>
 #include <asm/uaccess.h>
-#include <asm/io.h>
 
 #define DEVNAME "pc8736x_gpio"
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-22 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 18:51 [ patch -mm1 05/11 ] gpio-patchset-fixups: include linux/io.h Jim Cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox