projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065a113
)
nios2: include linux/type.h in io.h
author
Ley Foon Tan
<lftan@altera.com>
Thu, 20 Nov 2014 11:01:43 +0000
(19:01 +0800)
committer
Ley Foon Tan
<lftan@altera.com>
Mon, 8 Dec 2014 04:56:10 +0000
(12:56 +0800)
This is require for __iomem definition.
Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/nios2/include/asm/io.h
b/arch/nios2/include/asm/io.h
index c5cf8ea12ef8c0610a5e9c807780bf14d50b8133..9102bfd3fa1c9edb37efd6842fcaa18535742933 100644
(file)
--- a/
arch/nios2/include/asm/io.h
+++ b/
arch/nios2/include/asm/io.h
@@
-11,6
+11,7
@@
#ifndef _ASM_NIOS2_IO_H
#define _ASM_NIOS2_IO_H
+#include <linux/types.h>
#include <asm/pgtable-bits.h>
/* PCI is not supported in nios2, set this to 0. */