aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/ucm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c
index d208ea29e07a..02ca642089bd 100644
--- a/drivers/infiniband/core/ucm.c
+++ b/drivers/infiniband/core/ucm.c
@@ -113,8 +113,8 @@ static struct ib_client ucm_client = {
113 .remove = ib_ucm_remove_one 113 .remove = ib_ucm_remove_one
114}; 114};
115 115
116DECLARE_MUTEX(ctx_id_mutex); 116static DECLARE_MUTEX(ctx_id_mutex);
117DEFINE_IDR(ctx_id_table); 117static DEFINE_IDR(ctx_id_table);
118static DECLARE_BITMAP(dev_map, IB_UCM_MAX_DEVICES); 118static DECLARE_BITMAP(dev_map, IB_UCM_MAX_DEVICES);
119 119
120static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id) 120static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id)