]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sh: don't include <asm/io_trapped.h> in <asm/io.h>
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Jul 2020 12:18:52 +0000 (14:18 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:16 +0000 (22:05 -0400)
No need to expose the details of trapped I/O to drivers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/io.h
arch/sh/kernel/ioport.c
arch/sh/mm/ioremap.c

index da08a61a2f7dae96314191d31dbfd5ca5e306a7c..873f1399fa5962aa9ae51e45d562f0aaf85799d2 100644 (file)
@@ -22,7 +22,6 @@
 
 #define __IO_PREFIX     generic
 #include <asm/io_generic.h>
-#include <asm/io_trapped.h>
 #include <asm-generic/pci_iomap.h>
 #include <mach/mangle-port.h>
 
index 34f8cdbbcf0beeffe85f3265f20ade9bd28ea21f..f39446a658bdb8773e6dc3ec513bbc49b365b121 100644 (file)
@@ -7,6 +7,7 @@
  */
 #include <linux/module.h>
 #include <linux/io.h>
+#include <asm/io_trapped.h>
 
 unsigned long sh_io_port_base __read_mostly = -1;
 EXPORT_SYMBOL(sh_io_port_base);
index 69e55939e48a6fbfcd3f05699c1ca4c64a476700..21342581144dee0643237a833084e6c01e568c29 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/mm.h>
 #include <linux/pci.h>
 #include <linux/io.h>
+#include <asm/io_trapped.h>
 #include <asm/page.h>
 #include <asm/pgalloc.h>
 #include <asm/addrspace.h>