Commit 4ab11ecaaa5f24ffef32b7606c5452b1f83e75af
1 parent
37e3a36a54
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
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>
Showing 1 changed file with 0 additions and 3 deletions Side-by-side Diff
arch/microblaze/include/asm/io.h
... | ... | @@ -120,9 +120,6 @@ |
120 | 120 | #define insw(a,b,l) io_insw(a,b,l) |
121 | 121 | #define insl(a,b,l) io_insl(a,b,l) |
122 | 122 | |
123 | - | |
124 | -#define iounmap(addr) ((void)0) | |
125 | -#define ioremap(physaddr, size) (physaddr) | |
126 | 123 | #define ioremap_nocache(physaddr, size) (physaddr) |
127 | 124 | #define ioremap_writethrough(physaddr, size) (physaddr) |
128 | 125 | #define ioremap_fullcache(physaddr, size) (physaddr) |