ソースを参照

nios2: include linux/type.h in io.h

This is require for __iomem definition.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
Ley Foon Tan 10 年 前
コミット
6181032517
1 ファイル変更1 行追加0 行削除
  1. 1 0
      arch/nios2/include/asm/io.h

+ 1 - 0
arch/nios2/include/asm/io.h

@@ -11,6 +11,7 @@
 #ifndef _ASM_NIOS2_IO_H
 #ifndef _ASM_NIOS2_IO_H
 #define _ASM_NIOS2_IO_H
 #define _ASM_NIOS2_IO_H
 
 
+#include <linux/types.h>
 #include <asm/pgtable-bits.h>
 #include <asm/pgtable-bits.h>
 
 
 /* PCI is not supported in nios2, set this to 0. */
 /* PCI is not supported in nios2, set this to 0. */