m68k: Add missing ioport_unmap()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 9 Sep 2014 09:32:44 +0000 (11:32 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 28 Sep 2014 09:36:33 +0000 (11:36 +0200)
commita000dfc2ab201ffc43fbe925a522adeebe51f6f3
tree927430556b8fd733c9e1396bedb2f014df00f126
parent9aa59cacdf22de9127d147de9523c1a0f832da48
m68k: Add missing ioport_unmap()

drivers/net/ethernet/cirrus/cs89x0.c: In function ‘cs89x0_ioport_probe’:
drivers/net/ethernet/cirrus/cs89x0.c:1629: error: implicit declaration of function ‘ioport_unmap’

Add the missing ioport_unmap() implementation, and convert ioport_map()
from a macro to a static inline function while we're at it (both copied
from asm-generic).

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/io_mm.h