net: dsa: mv88e6xxx: move device mapping setup
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 27 Apr 2018 01:56:45 +0000 (21:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Apr 2018 00:36:49 +0000 (20:36 -0400)
commitc7f047b6c7bc3f6740a8fb1f2d03ecb19022fdc0
tree321b857e5d1ebeaceec273e22c0327328528f64c
parentb28f872dc48a4d55cba9d51cf3bac03ca32b2747
net: dsa: mv88e6xxx: move device mapping setup

Move the Device Mapping setup out of the specific Global 2 code,
into the top level device setup function.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global2.c
drivers/net/dsa/mv88e6xxx/global2.h