nios2: include linux/type.h in io.h
authorLey Foon Tan <lftan@altera.com>
Thu, 20 Nov 2014 11:01:43 +0000 (19:01 +0800)
committerLey 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

index c5cf8ea12ef8c0610a5e9c807780bf14d50b8133..9102bfd3fa1c9edb37efd6842fcaa18535742933 100644 (file)
@@ -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. */