aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/amso1100/c2_qp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2_qp.c')
-rw-r--r--drivers/infiniband/hw/amso1100/c2_qp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2_qp.c b/drivers/infiniband/hw/amso1100/c2_qp.c
index 0d7b6f23caff..28cd5cb51859 100644
--- a/drivers/infiniband/hw/amso1100/c2_qp.c
+++ b/drivers/infiniband/hw/amso1100/c2_qp.c
@@ -1010,13 +1010,13 @@ out:
1010 return err; 1010 return err;
1011} 1011}
1012 1012
1013void __devinit c2_init_qp_table(struct c2_dev *c2dev) 1013void c2_init_qp_table(struct c2_dev *c2dev)
1014{ 1014{
1015 spin_lock_init(&c2dev->qp_table.lock); 1015 spin_lock_init(&c2dev->qp_table.lock);
1016 idr_init(&c2dev->qp_table.idr); 1016 idr_init(&c2dev->qp_table.idr);
1017} 1017}
1018 1018
1019void __devexit c2_cleanup_qp_table(struct c2_dev *c2dev) 1019void c2_cleanup_qp_table(struct c2_dev *c2dev)
1020{ 1020{
1021 idr_destroy(&c2dev->qp_table.idr); 1021 idr_destroy(&c2dev->qp_table.idr);
1022} 1022}