diff options
Diffstat (limited to 'drivers/isdn/capi/kcapi_proc.c')
-rw-r--r-- | drivers/isdn/capi/kcapi_proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/capi/kcapi_proc.c b/drivers/isdn/capi/kcapi_proc.c index 59fd16a4ad8e..71b07610ff31 100644 --- a/drivers/isdn/capi/kcapi_proc.c +++ b/drivers/isdn/capi/kcapi_proc.c | |||
@@ -238,9 +238,9 @@ static const struct file_operations proc_applstats_ops = { | |||
238 | // --------------------------------------------------------------------------- | 238 | // --------------------------------------------------------------------------- |
239 | 239 | ||
240 | static void *capi_driver_start(struct seq_file *seq, loff_t *pos) | 240 | static void *capi_driver_start(struct seq_file *seq, loff_t *pos) |
241 | __acquires(&capi_drivers_list_lock) | 241 | __acquires(&capi_drivers_lock) |
242 | { | 242 | { |
243 | read_lock(&capi_drivers_list_lock); | 243 | mutex_lock(&capi_drivers_lock); |
244 | return seq_list_start(&capi_drivers, *pos); | 244 | return seq_list_start(&capi_drivers, *pos); |
245 | } | 245 | } |
246 | 246 | ||
@@ -250,9 +250,9 @@ static void *capi_driver_next(struct seq_file *seq, void *v, loff_t *pos) | |||
250 | } | 250 | } |
251 | 251 | ||
252 | static void capi_driver_stop(struct seq_file *seq, void *v) | 252 | static void capi_driver_stop(struct seq_file *seq, void *v) |
253 | __releases(&capi_drivers_list_lock) | 253 | __releases(&capi_drivers_lock) |
254 | { | 254 | { |
255 | read_unlock(&capi_drivers_list_lock); | 255 | mutex_unlock(&capi_drivers_lock); |
256 | } | 256 | } |
257 | 257 | ||
258 | static int capi_driver_show(struct seq_file *seq, void *v) | 258 | static int capi_driver_show(struct seq_file *seq, void *v) |