1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_UM_IO_H 3 #define _ASM_UM_IO_H 4 5 #define ioremap ioremap ioremap(phys_addr_t offset,size_t size)6static inline void __iomem *ioremap(phys_addr_t offset, size_t size) 7 { 8 return (void __iomem *)(unsigned long)offset; 9 } 10 11 #define iounmap iounmap iounmap(void __iomem * addr)12static inline void iounmap(void __iomem *addr) 13 { 14 } 15 16 #include <asm-generic/io.h> 17 18 #endif 19