net: dsa: mv88e6xxx: re-order functions
authorKlaus Kudielka <klaus.kudielka@gmail.com>
Wed, 15 Mar 2023 16:38:44 +0000 (17:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 18 Mar 2023 05:31:42 +0000 (22:31 -0700)
commitf1bee740fa821c28582bb17c42e2242041e598b8
treee350e66ecc2621d287304fecedfdc2049afc483c
parentb1a2de9ccfe63b50e493ebb57b85beb5785200c7
net: dsa: mv88e6xxx: re-order functions

Move mv88e6xxx_setup() below mv88e6xxx_mdios_register(), so that we are
able to call the latter one from here. Do the same thing for the
inverse functions.

Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c