summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2014-09-18 15:16:01 +1000
committerGreg Ungerer <gerg@uclinux.org>2014-09-29 09:18:36 +1000
commitf89487adce94b18e6f570ffbdf6c46f69525ebeb (patch)
tree19839a4c7a12b485656477f227f4d430f4e7046b /arch/m68k
parent1089c552fb50a4693bddb6ec00e58d4e7998ce55 (diff)
downloadtalos-op-linux-f89487adce94b18e6f570ffbdf6c46f69525ebeb.tar.gz
talos-op-linux-f89487adce94b18e6f570ffbdf6c46f69525ebeb.zip
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 <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/io_no.h9
1 files changed, 9 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud