Sfoglia il codice sorgente

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 anni fa
parent
commit
6181032517
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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. */