]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Move devlink_register to be the last initialization command
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 25 Sep 2021 11:22:49 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:31:59 +0000 (16:31 +0100)
commit4d099e10eda2a58bea56e1612f627cb616a7fddd
treeceb76a176f53e656bf570f24d155c1a0ffd40642
parentcfbebbe0b35f607fb36943042654010fd8d4bd16
net/mlx4: Move devlink_register to be the last initialization command

Refactor the code to make sure that devlink_register() is the last
command during initialization stage.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c