diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/capi/kcapi_proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/capi/kcapi_proc.c b/drivers/isdn/capi/kcapi_proc.c index c29208bd7521..50ed778f63fc 100644 --- a/drivers/isdn/capi/kcapi_proc.c +++ b/drivers/isdn/capi/kcapi_proc.c | |||
@@ -239,6 +239,7 @@ static const struct file_operations proc_applstats_ops = { | |||
239 | // --------------------------------------------------------------------------- | 239 | // --------------------------------------------------------------------------- |
240 | 240 | ||
241 | static void *capi_driver_start(struct seq_file *seq, loff_t *pos) | 241 | static void *capi_driver_start(struct seq_file *seq, loff_t *pos) |
242 | __acquires(&capi_drivers_list_lock) | ||
242 | { | 243 | { |
243 | read_lock(&capi_drivers_list_lock); | 244 | read_lock(&capi_drivers_list_lock); |
244 | return seq_list_start(&capi_drivers, *pos); | 245 | return seq_list_start(&capi_drivers, *pos); |
@@ -250,6 +251,7 @@ static void *capi_driver_next(struct seq_file *seq, void *v, loff_t *pos) | |||
250 | } | 251 | } |
251 | 252 | ||
252 | static void capi_driver_stop(struct seq_file *seq, void *v) | 253 | static void capi_driver_stop(struct seq_file *seq, void *v) |
254 | __releases(&capi_drivers_list_lock) | ||
253 | { | 255 | { |
254 | read_unlock(&capi_drivers_list_lock); | 256 | read_unlock(&capi_drivers_list_lock); |
255 | } | 257 | } |