diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-09-25 14:22:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-27 16:31:58 +0100 |
commit | 5df290e7a70367d476406420d19c4dea14d45dd1 (patch) | |
tree | 091b1ff8a6f406b95934e39f10fdd1922151b9fe /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | |
parent | cf530217408e3686f7002429769ede59dd931151 (diff) |
bnxt_en: Register devlink instance at the end devlink configuration
Move devlink_register() to be last command in devlink configuration
sequence, so no user space access will be possible till devlink instance
is fully operable. As part of this change, the devlink_params_publish
call is removed as not needed.
This change fixes forgotten devlink_params_unpublish() too.
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h')
0 files changed, 0 insertions, 0 deletions