summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/kmap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-13 08:14:41 +0200
committerChristoph Hellwig <hch@lst.de>2019-11-11 21:18:19 +0100
commit076863473c0cdbf7fdcbf97e1878028ccde3b4ec (patch)
tree41f69c7f4a38cd5336bab8a793767a660409a06f /arch/m68k/include/asm/kmap.h
parentd092a87073269677b7ff09e71a8d91912b7f969a (diff)
m68k: rename __iounmap and mark it static
m68k uses __iounmap as the name for an internal helper that is only used for some CPU types. Mark it static, give it a better name and move it around a bit to avoid a forward declaration. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/kmap.h')
-rw-r--r--arch/m68k/include/asm/kmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/kmap.h b/arch/m68k/include/asm/kmap.h
index 421b6c9c769d..559cb91bede1 100644
--- a/arch/m68k/include/asm/kmap.h
+++ b/arch/m68k/include/asm/kmap.h
@@ -20,7 +20,6 @@ extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size,
int cacheflag);
#define iounmap iounmap
extern void iounmap(void __iomem *addr);
-extern void __iounmap(void *addr, unsigned long size);
#define ioremap ioremap
static inline void __iomem *ioremap(unsigned long physaddr, unsigned long size)