From: Greg Ungerer Date: Thu, 18 Sep 2014 05:16:01 +0000 (+1000) Subject: m68knommu: add missing ioport_map() and ioport_unmap() X-Git-Tag: v3.18-rc1~51^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f89487adce94b18e6f570ffbdf6c46f69525ebeb;p=karo-tx-linux.git m68knommu: add missing ioport_map() and ioport_unmap() Add the missing ioport_map() and ioport_unmap() functions for the non-MMU platforms. Signed-off-by: Greg Ungerer --- diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index 52f7e8499172..be4b5a813ad4 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h @@ -179,6 +179,15 @@ static inline void *ioremap_fullcache(unsigned long physaddr, unsigned long size */ #define xlate_dev_kmem_ptr(p) p +static inline void __iomem *ioport_map(unsigned long port, unsigned int nr) +{ + return (void __iomem *) port; +} + +static inline void ioport_unmap(void __iomem *p) +{ +} + #endif /* __KERNEL__ */ #endif /* _M68KNOMMU_IO_H */