projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f4624
)
nds32: Fix the unknown type u8 issue.
author
Greentime Hu
<greentime@andestech.com>
Thu, 19 Apr 2018 07:59:38 +0000
(15:59 +0800)
committer
Greentime Hu
<greentime@andestech.com>
Wed, 23 May 2018 05:26:21 +0000
(13:26 +0800)
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>
arch/nds32/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/nds32/include/asm/io.h
b/arch/nds32/include/asm/io.h
index 966e71b3c960bf2d199d3612d1160875d41cb2ba..71cd226d6863ee4a218e657dda216535f2e6fcf1 100644
(file)
--- 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)