Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_UM_IO_H
0003 #define _ASM_UM_IO_H
0004 #include <linux/types.h>
0005 
0006 /* get emulated iomem (if desired) */
0007 #include <asm-generic/logic_io.h>
0008 
0009 #ifndef ioremap
0010 #define ioremap ioremap
0011 static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
0012 {
0013     return NULL;
0014 }
0015 #endif /* ioremap */
0016 
0017 #ifndef iounmap
0018 #define iounmap iounmap
0019 static inline void iounmap(void __iomem *addr)
0020 {
0021 }
0022 #endif /* iounmap */
0023 
0024 #include <asm-generic/io.h>
0025 
0026 #endif