aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/kcapi.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 05:12:11 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-16 19:01:20 -0500
commit9717fb8b64ed41be9dd074bc8010bafd33046f1a (patch)
treefb188fea58e7626b3046950de44fb7c551ee00f3 /drivers/isdn/capi/kcapi.h
parent522530311b35ec8fc4785062441dd2d63967ac55 (diff)
CAPI: Convert capi drivers rwlock into mutex
Turn the lock protecting registered capi drivers into a mutex and apply it consistently. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi/kcapi.h')
-rw-r--r--drivers/isdn/capi/kcapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/kcapi.h b/drivers/isdn/capi/kcapi.h
index f62c53bd6a97..07c58500fe48 100644
--- a/drivers/isdn/capi/kcapi.h
+++ b/drivers/isdn/capi/kcapi.h
@@ -30,7 +30,7 @@ enum {
30}; 30};
31 31
32extern struct list_head capi_drivers; 32extern struct list_head capi_drivers;
33extern rwlock_t capi_drivers_list_lock; 33extern struct mutex capi_drivers_lock;
34 34
35extern struct capi20_appl *capi_applications[CAPI_MAXAPPL]; 35extern struct capi20_appl *capi_applications[CAPI_MAXAPPL];
36extern struct capi_ctr *capi_controller[CAPI_MAXCONTR]; 36extern struct capi_ctr *capi_controller[CAPI_MAXCONTR];