]> 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)
commit72bb9531162a9f9aa6985c2b7d8d8c0c05ec48ad
treee73304d366bd2379bf093a2fa83d7b73a6da53b3
parent7ded129bcaf70ecdfaf5c588aadaf45e25c124db
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