summaryrefslogtreecommitdiff
path: root/drivers/isdn/capi/kcapi.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-02-08 13:12:11 +0300
committerDavid S. Miller <davem@davemloft.net>2010-02-17 03:01:20 +0300
commit9717fb8b64ed41be9dd074bc8010bafd33046f1a (patch)
treefb188fea58e7626b3046950de44fb7c551ee00f3 /drivers/isdn/capi/kcapi.h
parent522530311b35ec8fc4785062441dd2d63967ac55 (diff)
downloadlinux-9717fb8b64ed41be9dd074bc8010bafd33046f1a.tar.xz
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 {
};
extern struct list_head capi_drivers;
-extern rwlock_t capi_drivers_list_lock;
+extern struct mutex capi_drivers_lock;
extern struct capi20_appl *capi_applications[CAPI_MAXAPPL];
extern struct capi_ctr *capi_controller[CAPI_MAXCONTR];