Explorar el Código

[AVR32] pcmcia ioaddr_t should be 32 bits on AVR32

Define ioaddr_t as u_int on AVR32 just like on ARM and MIPS.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Haavard Skinnemoen hace 18 años
padre
commit
330a9c1df6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      include/pcmcia/cs_types.h

+ 1 - 1
include/pcmcia/cs_types.h

@@ -21,7 +21,7 @@
 #include <sys/types.h>
 #include <sys/types.h>
 #endif
 #endif
 
 
-#if defined(__arm__) || defined(__mips__)
+#if defined(__arm__) || defined(__mips__) || defined(__avr32__)
 /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
 /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
 typedef u_int   ioaddr_t;
 typedef u_int   ioaddr_t;
 #else
 #else