dpaa2-eth: Register devlink instance at the end of probe
authorLeon Romanovsky <leonro@nvidia.com>
Sat, 25 Sep 2021 11:22:44 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 15:31:59 +0000 (16:31 +0100)
commitbbb9ae25fc67f4867d6ab1e8e373cf86e7758d0d
treee71230c5fa367a94486954c4de2dbc1b9202cc6f
parent8d44b5cf60602568f951fbff86f1e0e0435d2a57
dpaa2-eth: Register devlink instance at the end of probe

Move devlink_register to be the last command in the initialization
sequence.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h