summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-06-28 10:41:56 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:54 +0200
commit4ab11ecaaa5f24ffef32b7606c5452b1f83e75af (patch)
tree644131dade6066f31365a2edd15e3f79790a10f8 /arch/microblaze
parent37e3a36a54755d15e36b52ee47caaf1cdfdc37aa (diff)
microblaze: Use default implementation from include/linux/io.h
There is no reason not to use default ioremap/iounmap io functions. The patch remove Microblaze macros. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/io.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h
index c7516a47e8..26a437c248 100644
--- a/arch/microblaze/include/asm/io.h
+++ b/arch/microblaze/include/asm/io.h
@@ -120,9 +120,6 @@ io_outsl (unsigned long port, const void *src, unsigned long count)
#define insw(a,b,l) io_insw(a,b,l)
#define insl(a,b,l) io_insl(a,b,l)
-
-#define iounmap(addr) ((void)0)
-#define ioremap(physaddr, size) (physaddr)
#define ioremap_nocache(physaddr, size) (physaddr)
#define ioremap_writethrough(physaddr, size) (physaddr)
#define ioremap_fullcache(physaddr, size) (physaddr)