aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/cs_internal.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-01-16 03:14:11 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2010-02-17 11:48:20 -0500
commit00ce99ff506a17882747a7d6874e3f5206a99043 (patch)
tree571f5b106f25f35f326d456123c4af85147c3bce /drivers/pcmcia/cs_internal.h
parent3d3de32fad19e37695e6649136e4cb17f9d46329 (diff)
pcmcia: simplify locking
replace pcmcia_socket->lock and pcmcia_dev_list_lock by using the per-socket "ops_mutex", as we do neither need different locks nor a spinlock here. Tested-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs_internal.h')
-rw-r--r--drivers/pcmcia/cs_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
index 76ac4444f0e0..bd386d77845e 100644
--- a/drivers/pcmcia/cs_internal.h
+++ b/drivers/pcmcia/cs_internal.h
@@ -182,8 +182,6 @@ int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
182 182
183#ifdef CONFIG_PCMCIA_IOCTL 183#ifdef CONFIG_PCMCIA_IOCTL
184/* ds.c */ 184/* ds.c */
185extern spinlock_t pcmcia_dev_list_lock;
186
187extern struct pcmcia_device *pcmcia_get_dev(struct pcmcia_device *p_dev); 185extern struct pcmcia_device *pcmcia_get_dev(struct pcmcia_device *p_dev);
188extern void pcmcia_put_dev(struct pcmcia_device *p_dev); 186extern void pcmcia_put_dev(struct pcmcia_device *p_dev);
189 187