소스 검색

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. */