author: Johannes Berg <johannes.berg@intel.com> 2020-12-17 13:15:56 +0100
committer: Richard Weinberger <richard@nod.at> 2021-01-26 22:11:37 +0100
commit: 1cdcfb44370b28187a0c33cdbcb4705103ed81aa
parent: 94c41b3a7c370b0d6afc5ace8fafa0531865a940
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/um/include/asm/io.h b/arch/um/include/asm/io.h
index 96f77b5232aa..cef03e3aa0f9 100644
--- a/arch/um/include/asm/io.h
+++ b/arch/um/include/asm/io.h
@@ -5,7 +5,7 @@
#define ioremap ioremap
static inline void __iomem *ioremap(phys_addr_t offset, size_t size)
{
- return (void __iomem *)(unsigned long)offset;
+ return NULL;
}
#define iounmap iounmap