]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: make mlx5e_profile const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 23 Aug 2017 12:52:01 +0000 (18:22 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 19:33:31 +0000 (12:33 -0700)
commit495b2d8e9c0d9110303595cd59d5c6a04f0a94b0
tree15d73c7057959f1ba18e48ae6a58fa2b8ab29114
parent700055ce9d859e5ef2597acb7a58fc5f0ca8560a
net/mlx5e: make mlx5e_profile const

Make this const as it is only passed as an argument to the function
mlx5e_create_netdev and the corresponding argument is of type const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c