]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: reorder initialisation
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 25 Jan 2022 16:59:29 +0000 (16:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2022 13:31:02 +0000 (13:31 +0000)
commit57fe4d1a915a9acb9207b2f5622f64077fd2963b
treee73304d366bd2379bf093a2fa83d7b73a6da53b3
parent852a683b8045421666b793b75b0776d18206f01a
net: mvneta: reorder initialisation

Re-order the mvneta initialisation to move devm based resources and
easy setup earlier in the probe function. The primary reason for this
is to allow us to switch the driver to use phylink's mac_select_pcs()
callback.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c