diff options
author | Ioana Radulescu | 2018-08-29 04:42:39 -0500 |
---|---|---|
committer | David S. Miller | 2018-09-01 17:16:59 -0700 |
commit | 7f12c8a3670f15ab8592c287279a4050960a7fc6 (patch) | |
tree | a689ab6f193ed03f9ba40cf9c7610b8815d9e378 /drivers/net/ethernet/freescale | |
parent | 459479da9769b2c91425a8edae16f40f7082a1fc (diff) |
staging: fsl-dpaa2/eth: Delay netdev_register() call
Only call netdev_register() at the end of the probe function,
once all other necessary bits and pieces are properly initialized.
We keep the rest of the netdevice initialization code in place,
at the earlier point of the probing sequence, including the
settings previously done in ndo_init.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions