[PATCH -next] h8300: Add missing include file to asm/io.h

From: Guenter Roeck
Date: Wed Jun 08 2016 - 23:12:19 EST


h8300 builds fail with

arch/h8300/include/asm/io.h:9:15: error: unknown type name âu8â
arch/h8300/include/asm/io.h:15:15: error: unknown type name âu16â
arch/h8300/include/asm/io.h:21:15: error: unknown type name âu32â

and many related errors.

Fixes: 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
arch/h8300/include/asm/io.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/h8300/include/asm/io.h b/arch/h8300/include/asm/io.h
index 2e221c5f0203..f86918aed9e1 100644
--- a/arch/h8300/include/asm/io.h
+++ b/arch/h8300/include/asm/io.h
@@ -3,6 +3,8 @@

#ifdef __KERNEL__

+#include <linux/types.h>
+
/* H8/300 internal I/O functions */

#define __raw_readb __raw_readb
--
2.5.0