aboutsummaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorJohannes Berg2021-02-03 13:22:51 +0100
committerRichard Weinberger2021-02-12 21:39:37 +0100
commitcc3ac20fc265ea498c57c3cab0e228553f8d92d3 (patch)
treed1f71cfd6faf242b289355251cb84c62aea53b64 /arch/um
parentdde8b58d512703d396e02427de1053b4d912aa42 (diff)
um: io.h: include <linux/types.h>
This may be needed for size_t if something doesn't get it included elsewhere before including <asm/io.h>, so add the include. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/asm/io.h b/arch/um/include/asm/io.h
index cef03e3aa0f9..6ce18d343997 100644
--- a/arch/um/include/asm/io.h
+++ b/arch/um/include/asm/io.h
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_UM_IO_H
#define _ASM_UM_IO_H
+#include <linux/types.h>
#define ioremap ioremap
static inline void __iomem *ioremap(phys_addr_t offset, size_t size)