blob: 96f77b5232aafe01e1f73cf3641683160b8b1ba5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Logan Gunthorpe1bcbfbf2017-05-24 15:42:15 -06002#ifndef _ASM_UM_IO_H
3#define _ASM_UM_IO_H
4
5#define ioremap ioremap
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
12static inline void iounmap(void __iomem *addr)
13{
14}
15
16#include <asm-generic/io.h>
17
18#endif