summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/io_mm.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-11-28 16:32:49 +1000
committerGreg Ungerer <gerg@uclinux.org>2012-07-17 15:49:41 +1000
commite93a6bbeb5a5f473293dd62f92903f89ec8004aa (patch)
tree5be3fceebccdcdbe387ae465651aa43b28a80491 /arch/m68k/include/asm/io_mm.h
parentd2661c621525956dfdd1e66e1e4fd94b7e4b6ed5 (diff)
m68k: common PCI support definitions and code
Basic set of definitions and support code required to turn on CONFIG_PCI for the m68k architecture. Nothing specific to any PCI implementation in any m68k class CPU hardware yet. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/io_mm.h')
-rw-r--r--arch/m68k/include/asm/io_mm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h
index fa4324bcf56..b85dbef85e1 100644
--- a/arch/m68k/include/asm/io_mm.h
+++ b/arch/m68k/include/asm/io_mm.h
@@ -340,4 +340,6 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int
*/
#define xlate_dev_kmem_ptr(p) p
+#define ioport_map(port, nr) ((void __iomem *)(port))
+
#endif /* _IO_H */