m68k/io: Switch mmu variant to <asm-generic/io.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 28 Jun 2018 09:18:53 +0000 (11:18 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 29 Jul 2018 08:48:18 +0000 (10:48 +0200)
commit781c4d6f5f278fc23687d6d224ddb452bb5ac368
tree17236b43c50becf77b9068efef1fde074f8e0a68
parentab4d391d2756086e34568f0ff84bc4fc7596e685
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>
arch/m68k/include/asm/io.h
arch/m68k/include/asm/io_mm.h
arch/m68k/include/asm/io_no.h