]> 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)
commit7c76bdbc1e4d77cc896d78513584e9ce6f017298
tree55b585637032cfaa630f9784872af4eab9afb1ab
parent487ab904bccbd2deba0e5649e41458099f35a3bd
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