diff options
author | Ira Weiny <ira.weiny@intel.com> | 2015-06-01 00:15:29 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-06-02 16:33:13 +0300 |
commit | 5ede9289859d94746d1ce55ad5ba038b42b9406c (patch) | |
tree | e825dd4e52823b85744c96891cc32e17af5be37c /drivers/infiniband/hw/ehca | |
parent | 175e8efe69974e240a89fb3a4bbeeb0b892de10d (diff) | |
download | linux-5ede9289859d94746d1ce55ad5ba038b42b9406c.tar.xz |
IB/core cleanup: Add const to RDMA helpers
The ib_device passed to the new RDMA helpers is constant. Declare the
ib_device as const in the following functions.
rdma_protocol_ib
rdma_protocol_roce
rdma_protocol_iwarp
rdma_ib_or_roce
rdma_cap_ib_mad
rdma_cap_ib_smi
rdma_cap_ib_cm
rdma_cap_iw_cm
rdma_cap_ib_sa
rdma_cap_ib_mcast
rdma_cap_af_ib
rdma_cap_eth_ah
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca')
0 files changed, 0 insertions, 0 deletions