summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-20 19:01:43 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-08 12:56:10 +0800
commit61810325176d1eefeb074430cc8b01e43ee0c18c (patch)
treedf637b8e1cefd95e0504e7f19246601c91faa047 /arch/nios2
parent065a1134c98758f2368bca43cc3895710ed3f81a (diff)
nios2: include linux/type.h in io.h
This is require for __iomem definition. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index c5cf8ea12ef8..9102bfd3fa1c 100644
--- 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. */