RDMA/nes: constify nes_cm_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 28 Nov 2015 14:00:37 +0000 (15:00 +0100)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:32 +0000 (00:17 -0500)
commitc419874c443a21ab75708bf0ddb74f2b0cf3c545
treed01374f5cbf9a40356c99b2c0c17ade0f40ec129
parent88115fe7a0e45a200a6ae9d07e424c62fb13621a
RDMA/nes: constify nes_cm_ops structure

The nes_cm_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_cm.c
drivers/infiniband/hw/nes/nes_cm.h