summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-08 20:11:58 -0700
committerGuenter Roeck <linux@roeck-us.net>2016-08-13 08:53:56 -0700
commit2b05980d895e51fc46d3d27c8d1bcc696dddca99 (patch)
treea637187b2a973b4a137618e4e77206ffbd89740f
parent783011b13095430262333fd64e17666954064664 (diff)
downloadop-kernel-dev-2b05980d895e51fc46d3d27c8d1bcc696dddca99.zip
op-kernel-dev-2b05980d895e51fc46d3d27c8d1bcc696dddca99.tar.gz
h8300: Add missing include file to asm/io.h
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@linux-foundation.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r--arch/h8300/include/asm/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/io.h b/arch/h8300/include/asm/io.h
index 2e221c5..f86918a 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
OpenPOWER on IntegriCloud