summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/iwcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/core/iwcm.h')
-rw-r--r--drivers/infiniband/core/iwcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/iwcm.h b/drivers/infiniband/core/iwcm.h
index 82c2cd1b0a80..bf74639be128 100644
--- a/drivers/infiniband/core/iwcm.h
+++ b/drivers/infiniband/core/iwcm.h
@@ -52,7 +52,7 @@ struct iwcm_id_private {
wait_queue_head_t connect_wait;
struct list_head work_list;
spinlock_t lock;
- atomic_t refcount;
+ refcount_t refcount;
struct list_head work_free_list;
};