drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / mips / include / asm / mach-generic / ioremap.h
blobf2442b84545c4c69feb3929deef0149288f4ca94
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * include/asm-mips/mach-generic/ioremap.h
4 */
5 #ifndef __ASM_MACH_GENERIC_IOREMAP_H
6 #define __ASM_MACH_GENERIC_IOREMAP_H
8 #include <linux/types.h>
10 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,
11 unsigned long flags)
13 return NULL;
16 static inline int plat_iounmap(const volatile void __iomem *addr)
18 return 0;
21 #endif /* __ASM_MACH_GENERIC_IOREMAP_H */