projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1089c55
)
m68knommu: add missing ioport_map() and ioport_unmap()
author
Greg Ungerer
<gerg@uclinux.org>
Thu, 18 Sep 2014 05:16:01 +0000
(15:16 +1000)
committer
Greg Ungerer
<gerg@uclinux.org>
Sun, 28 Sep 2014 23:18:36 +0000
(09:18 +1000)
Add the missing ioport_map() and ioport_unmap() functions for the
non-MMU platforms.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/io_no.h
patch
|
blob
|
history
diff --git
a/arch/m68k/include/asm/io_no.h
b/arch/m68k/include/asm/io_no.h
index 52f7e8499172e101b5ba3d925c9d9d9694c325c1..be4b5a813ad401972624886802f5f69aa047e7dc 100644
(file)
--- 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 */