diff options
Diffstat (limited to 'include/pcmcia/ss.h')
-rw-r--r-- | include/pcmcia/ss.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index f95dca077c1c..ed919dd9bb5c 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -21,7 +21,6 @@ | |||
21 | 21 | ||
22 | #include <pcmcia/cs_types.h> | 22 | #include <pcmcia/cs_types.h> |
23 | #include <pcmcia/cs.h> | 23 | #include <pcmcia/cs.h> |
24 | #include <pcmcia/bulkmem.h> | ||
25 | #ifdef CONFIG_CARDBUS | 24 | #ifdef CONFIG_CARDBUS |
26 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
27 | #endif | 26 | #endif |
@@ -136,8 +135,14 @@ struct pccard_resource_ops { | |||
136 | struct resource* (*find_mem) (unsigned long base, unsigned long num, | 135 | struct resource* (*find_mem) (unsigned long base, unsigned long num, |
137 | unsigned long align, int low, | 136 | unsigned long align, int low, |
138 | struct pcmcia_socket *s); | 137 | struct pcmcia_socket *s); |
139 | int (*adjust_resource) (struct pcmcia_socket *s, | 138 | int (*add_io) (struct pcmcia_socket *s, |
140 | adjust_t *adj); | 139 | unsigned int action, |
140 | unsigned long r_start, | ||
141 | unsigned long r_end); | ||
142 | int (*add_mem) (struct pcmcia_socket *s, | ||
143 | unsigned int action, | ||
144 | unsigned long r_start, | ||
145 | unsigned long r_end); | ||
141 | int (*init) (struct pcmcia_socket *s); | 146 | int (*init) (struct pcmcia_socket *s); |
142 | void (*exit) (struct pcmcia_socket *s); | 147 | void (*exit) (struct pcmcia_socket *s); |
143 | }; | 148 | }; |
@@ -245,7 +250,6 @@ struct pcmcia_socket { | |||
245 | 250 | ||
246 | struct task_struct *thread; | 251 | struct task_struct *thread; |
247 | struct completion thread_done; | 252 | struct completion thread_done; |
248 | wait_queue_head_t thread_wait; | ||
249 | spinlock_t thread_lock; /* protects thread_events */ | 253 | spinlock_t thread_lock; /* protects thread_events */ |
250 | unsigned int thread_events; | 254 | unsigned int thread_events; |
251 | 255 | ||