浏览代码

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
 #define _ASM_NIOS2_IO_H
 
+#include <linux/types.h>
 #include <asm/pgtable-bits.h>
 
 /* PCI is not supported in nios2, set this to 0. */