]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita53349704478f8230647adea80acf92a4b61688f
tree17236b43c50becf77b9068efef1fde074f8e0a68
parentecb26fdf7bda6722578918e0c6ed5f21e54d61e1
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