提交 f89487ad 编写于 作者: G Greg Ungerer

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: NGreg Ungerer <gerg@uclinux.org>
上级 1089c552
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册