summaryrefslogtreecommitdiffstats
path: root/arch/nds32
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2018-04-19 15:59:38 +0800
committerGreentime Hu <greentime@andestech.com>2018-05-23 13:26:21 +0800
commitbb912671e36552e11352a6b749dcf68b0df6ad01 (patch)
tree9d3e0dd85b1d77e386107ac270ec7e0fd72ba500 /arch/nds32
parente3f4624388731eb475ef7494b43440b3ad9269e1 (diff)
downloadlinux-bb912671e36552e11352a6b749dcf68b0df6ad01.tar.bz2
nds32: Fix the unknown type u8 issue.
It broke the 'allmodconfig' build. We need to include <linux/types.h> to make sure the type is defined before using it. Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/include/asm/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
index 966e71b3c960..71cd226d6863 100644
--- a/arch/nds32/include/asm/io.h
+++ b/arch/nds32/include/asm/io.h
@@ -4,6 +4,8 @@
#ifndef __ASM_NDS32_IO_H
#define __ASM_NDS32_IO_H
+#include <linux/types.h>
+
extern void iounmap(volatile void __iomem *addr);
#define __raw_writeb __raw_writeb
static inline void __raw_writeb(u8 val, volatile void __iomem *addr)