arch, drivers: don't include <asm/io.h> directly, use <linux/io.h> instead
authorDan Williams <dan.j.williams@intel.com>
Tue, 11 Aug 2015 03:07:05 +0000 (23:07 -0400)
committerDan Williams <dan.j.williams@intel.com>
Tue, 11 Aug 2015 03:07:05 +0000 (23:07 -0400)
Preparation for uniform definition of ioremap, ioremap_wc, ioremap_wt,
and ioremap_cache, tree-wide.

Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
14 files changed:
arch/arm/mach-shmobile/pm-rcar.c
arch/ia64/kernel/cyclone.c
drivers/isdn/icn/icn.h
drivers/mtd/devices/slram.c
drivers/mtd/nand/diskonchip.c
drivers/mtd/onenand/generic.c
drivers/scsi/sun3x_esp.c
drivers/staging/comedi/drivers/ii_pci20kc.c
drivers/tty/serial/8250/8250_core.c
drivers/video/fbdev/s1d13xxxfb.c
drivers/video/fbdev/stifb.c
include/linux/io-mapping.h
include/linux/mtd/map.h
include/video/vga.h

index 00022ee56f80dc3075e59a6a93e05acb09a38c80..9d3dde00c2fe377e1848d5acc72d4a70749d357b 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/err.h>
 #include <linux/mm.h>
 #include <linux/spinlock.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include "pm-rcar.h"
 
 /* SYSC */
index 4826ff957a3d18f6e0266f55dd7519b190ac198e..5fa3848ba22497c34d68e4f0e3f4069f79c73d09 100644 (file)
@@ -4,7 +4,7 @@
 #include <linux/errno.h>
 #include <linux/timex.h>
 #include <linux/clocksource.h>
-#include <asm/io.h>
+#include <linux/io.h>
 
 /* IBM Summit (EXA) Cyclone counter code*/
 #define CYCLONE_CBAR_ADDR 0xFEB00CD0
index b713466997a0d2016b9b4a19e0430ac1c342dbe8..f8f2e76d34bf30d8e398d577ba025384330ac316 100644 (file)
@@ -38,7 +38,7 @@ typedef struct icn_cdef {
 #include <linux/errno.h>
 #include <linux/fs.h>
 #include <linux/major.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/signal.h>
 #include <linux/slab.h>
index 2fc4957cbe7fec0a2f873cd6cca11cbb88403919..a70eb83e68f12cb82fc6d30f55261883191ce196 100644 (file)
@@ -41,7 +41,7 @@
 #include <linux/fs.h>
 #include <linux/ioctl.h>
 #include <linux/init.h>
-#include <asm/io.h>
+#include <linux/io.h>
 
 #include <linux/mtd/mtd.h>
 
index 7da266a5397990281e0a35625435168b2f11a78f..0802158a3f757b19506947bdbf1d46124ae6fdc8 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/rslib.h>
 #include <linux/moduleparam.h>
 #include <linux/slab.h>
-#include <asm/io.h>
+#include <linux/io.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
index 32a216d31141ba91a48f3f3724d7f7659d29dd0e..ab7bda0bb245ce4e702f87ebf5136f09920fbf1d 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/onenand.h>
 #include <linux/mtd/partitions.h>
-#include <asm/io.h>
+#include <linux/io.h>
 
 /*
  * Note: Driver name and platform data format have been updated!
index e26e81de7c45ab31e4e3dd7e40db7854d756190b..d50c5ed8f428c69380101ce7ccab16fcc4e805d4 100644 (file)
@@ -12,9 +12,9 @@
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 
 #include <asm/sun3x.h>
-#include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/dvma.h>
 
index 0768bc42a5db5a7756e5132baf8f741b2cc0e2e7..14ef1f67dd420bb66d8a2ff90851a3544a277cf8 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 #include <linux/module.h>
+#include <linux/io.h>
 #include "../comedidev.h"
 
 /*
index 37fff12dd4d06b9f561eeabfe2c22f1cb4aa88e4..fe902ff52e584efdd0ad47b9baccef751e8dfb6a 100644 (file)
 #include <linux/slab.h>
 #include <linux/uaccess.h>
 #include <linux/pm_runtime.h>
+#include <linux/io.h>
 #ifdef CONFIG_SPARC
 #include <linux/sunserialcore.h>
 #endif
 
-#include <asm/io.h>
 #include <asm/irq.h>
 
 #include "8250.h"
index 83433cb0dfba42010c4793bd7c8695955c77217f..96aa46dc696c94225be2b9a721e6cba6e619af46 100644 (file)
@@ -32,8 +32,7 @@
 #include <linux/spinlock_types.h>
 #include <linux/spinlock.h>
 #include <linux/slab.h>
-
-#include <asm/io.h>
+#include <linux/io.h>
 
 #include <video/s1d13xxxfb.h>
 
index 735355b0e0233529ca8ed1fbbf4df40dec867bb9..7df4228e25f05fa24c6275dce7c940b3f93c63f8 100644 (file)
@@ -64,6 +64,7 @@
 #include <linux/fb.h>
 #include <linux/init.h>
 #include <linux/ioport.h>
+#include <linux/io.h>
 
 #include <asm/grfioctl.h>      /* for HP-UX compatibility */
 #include <asm/uaccess.h>
index c27dde7215b5b291394747d35e1f4a19d9f1ac8e..e399029b68c5bbdc5ae613c681217c9c554c0f9f 100644 (file)
@@ -21,7 +21,7 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/bug.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/page.h>
 
 /*
index 29975c73a95347a582a98b4cf09baf0fea47c7b0..366cf77953b55bc737fcded0179df083138b3dbf 100644 (file)
@@ -27,9 +27,9 @@
 #include <linux/string.h>
 #include <linux/bug.h>
 #include <linux/kernel.h>
+#include <linux/io.h>
 
 #include <asm/unaligned.h>
-#include <asm/io.h>
 #include <asm/barrier.h>
 
 #ifdef CONFIG_MTD_MAP_BANK_WIDTH_1
index cac567f22e6232265b96ca361a505cbe46b2dfb1..d334e64c1c193e23d739510bd164d96944112206 100644 (file)
@@ -18,7 +18,7 @@
 #define __linux_video_vga_h__
 
 #include <linux/types.h>
-#include <asm/io.h>
+#include <linux/io.h>
 #include <asm/vga.h>
 #include <asm/byteorder.h>