diff options
author | Greentime Hu <greentime@andestech.com> | 2018-04-19 10:59:38 +0300 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-05-23 08:26:21 +0300 |
commit | bb912671e36552e11352a6b749dcf68b0df6ad01 (patch) | |
tree | 9d3e0dd85b1d77e386107ac270ec7e0fd72ba500 /arch | |
parent | e3f4624388731eb475ef7494b43440b3ad9269e1 (diff) | |
download | linux-bb912671e36552e11352a6b749dcf68b0df6ad01.tar.xz |
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')
-rw-r--r-- | arch/nds32/include/asm/io.h | 2 |
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) |