diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 05:12:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 19:01:20 -0500 |
commit | 9717fb8b64ed41be9dd074bc8010bafd33046f1a (patch) | |
tree | fb188fea58e7626b3046950de44fb7c551ee00f3 /drivers/isdn/capi/kcapi.h | |
parent | 522530311b35ec8fc4785062441dd2d63967ac55 (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.h | 2 |
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 | ||
32 | extern struct list_head capi_drivers; | 32 | extern struct list_head capi_drivers; |
33 | extern rwlock_t capi_drivers_list_lock; | 33 | extern struct mutex capi_drivers_lock; |
34 | 34 | ||
35 | extern struct capi20_appl *capi_applications[CAPI_MAXAPPL]; | 35 | extern struct capi20_appl *capi_applications[CAPI_MAXAPPL]; |
36 | extern struct capi_ctr *capi_controller[CAPI_MAXCONTR]; | 36 | extern struct capi_ctr *capi_controller[CAPI_MAXCONTR]; |