Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment