um: io.h: include <linux/types.h>
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Feb 2021 12:22:51 +0000 (13:22 +0100)
committerRichard Weinberger <richard@nod.at>
Fri, 12 Feb 2021 20:39:37 +0000 (21:39 +0100)
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>
arch/um/include/asm/io.h

index cef03e3aa0f994ae58fe3cab6ab47b7b19630017..6ce18d343997943db1abe651bd8a69cfe3ccf8f9 100644 (file)
@@ -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)