net/mlx4_core: make mlx4_profile const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 23 Aug 2017 12:47:39 +0000 (18:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 19:33:31 +0000 (12:33 -0700)
commit3f2c5fb2d81656e79cdfbe78a5790c35993ed1ff
treeb7ccb502bac1e38db86c3c763c55fd13a8a4a9ff
parente7d12ce121aa474ea6984ea1255a7bd85c09454f
net/mlx4_core: make mlx4_profile const

Make these const as they are only used in a copy operation.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c