]> git.baikalelectronics.ru Git - kernel.git/commit
net: hinic: Open device for the user access when it is ready
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 25 Sep 2021 11:22:45 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:31:59 +0000 (16:31 +0100)
commit13083ad1fc7c793851dc381b45077b41c3cb0842
tree55b585637032cfaa630f9784872af4eab9afb1ab
parent10d046c846e9a805993c5d176eb3f797cc415b68
net: hinic: Open device for the user access when it is ready

Move devlink registration to be the last command in device activation,
so it opens the driver to accept such devlink commands from the user
when it is fully initialized.

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