net: mvpp2: Restructure probe / init functions
authorStefan Roese <sr@denx.de>
Wed, 22 Mar 2017 13:11:16 +0000 (14:11 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:42:59 +0000 (07:42 +0200)
commit66b11ccbb616910c593a18ba7232e30c3b13ee43
tree31986d9c2d20d63f3e7bf67f5497e83e7dc7f2e6
parentd11e9347461cff9ce89e6e65764f73fad0f19c6f
net: mvpp2: Restructure probe / init functions

This patch does a bit of restructuring of the probe / init functions,
mainly to allow earlier register access as it is needed for the upcoming
GoP (Group of Ports) and NetC (Net Complex) code.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c