io.h 339 B

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