diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-06-28 11:18:53 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-07-29 10:48:18 +0200 |
commit | 781c4d6f5f278fc23687d6d224ddb452bb5ac368 (patch) | |
tree | 17236b43c50becf77b9068efef1fde074f8e0a68 /arch/m68k/include/asm/io_no.h | |
parent | ab4d391d2756086e34568f0ff84bc4fc7596e685 (diff) | |
download | linux-781c4d6f5f278fc23687d6d224ddb452bb5ac368.tar.bz2 |
m68k/io: Switch mmu variant to <asm-generic/io.h>
The dummy functions defined in <asm/io_mm.h> can be provided by
<asm-generic/io.h>.
As nommu already uses <asm-generic/io.h>, move its inclusion to
<asm/io.h>, and add/adjust include guards where appropriate.
This gets rid of lots of "statement with no effect" and "unused
variable" warnings when compile-testing.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/io_no.h')
-rw-r--r-- | arch/m68k/include/asm/io_no.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index c207428fae59..0498192e1d98 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h @@ -133,6 +133,5 @@ static inline void writel(u32 value, volatile void __iomem *addr) #include <asm/kmap.h> #include <asm/virtconvert.h> -#include <asm-generic/io.h> #endif /* _M68KNOMMU_IO_H */ |