Skip to content
Commit 7f12c8a3 authored by Ioana Radulescu's avatar Ioana Radulescu Committed by David S. Miller
Browse files

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: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
Suggested-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 459479da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment