aboutsummaryrefslogtreecommitdiffstats
path: root/include/pcmcia/ds.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pcmcia/ds.h')
-rw-r--r--include/pcmcia/ds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
index bdf7d5e474f7..279df0fb036e 100644
--- a/include/pcmcia/ds.h
+++ b/include/pcmcia/ds.h
@@ -171,6 +171,14 @@ const char *pcmcia_error_ret(int ret);
171 171
172#if defined(CONFIG_PCMCIA_IOCTL) || !defined(__KERNEL__) 172#if defined(CONFIG_PCMCIA_IOCTL) || !defined(__KERNEL__)
173 173
174#if defined(__arm__) || defined(__mips__) || defined(__avr32__) || \
175 defined(__bfin__)
176/* This (ioaddr_t) is exposed to userspace & hence cannot be changed. */
177typedef u_int ioaddr_t;
178#else
179typedef u_short ioaddr_t;
180#endif
181
174/* for AdjustResourceInfo */ 182/* for AdjustResourceInfo */
175typedef struct adjust_t { 183typedef struct adjust_t {
176 u_int Action; 184 u_int Action;