diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pcmcia/ss.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index 6529ccc76514..fa527c2ef5ec 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/config.h> | 18 | #include <linux/config.h> |
19 | #include <linux/device.h> | 19 | #include <linux/device.h> |
20 | #include <linux/sched.h> /* task_struct, completion */ | 20 | #include <linux/sched.h> /* task_struct, completion */ |
21 | #include <linux/mutex.h> | ||
21 | 22 | ||
22 | #include <pcmcia/cs_types.h> | 23 | #include <pcmcia/cs_types.h> |
23 | #include <pcmcia/cs.h> | 24 | #include <pcmcia/cs.h> |
@@ -240,7 +241,7 @@ struct pcmcia_socket { | |||
240 | #endif | 241 | #endif |
241 | 242 | ||
242 | /* state thread */ | 243 | /* state thread */ |
243 | struct semaphore skt_sem; /* protects socket h/w state */ | 244 | struct mutex skt_mutex; /* protects socket h/w state */ |
244 | 245 | ||
245 | struct task_struct *thread; | 246 | struct task_struct *thread; |
246 | struct completion thread_done; | 247 | struct completion thread_done; |