]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/pcmcia/cs_types.h
pcmcia: carve out ioctl adjust function to pcmcia_ioctl
[karo-tx-linux.git] / include / pcmcia / cs_types.h
index 7881d40aac8d5ffa9e1b8eead5c04171df38baa0..6f80b35a863e80b73850dd8857240a83e5314411 100644 (file)
 #include <sys/types.h>
 #endif
 
-#if defined(__arm__) || defined(__mips__)
+#if defined(__arm__) || defined(__mips__) || defined(__avr32__) || \
+       defined(__bfin__)
 /* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
 typedef u_int   ioaddr_t;
 #else
 typedef u_short        ioaddr_t;
 #endif
-typedef unsigned long kio_addr_t;
 
 typedef u_short        socket_t;
 typedef u_int  event_t;
 typedef u_char cisdata_t;
 typedef u_short        page_t;
 
-struct client_t;
-typedef struct client_t *client_handle_t;
+struct pcmcia_device;
+typedef struct pcmcia_device *client_handle_t;
 
 struct window_t;
 typedef struct window_t *window_handle_t;