net: dsa: mv88e6xxx: add set_switch_mac to ops
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 29 Sep 2016 16:22:01 +0000 (12:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2016 05:26:00 +0000 (01:26 -0400)
commitb073d4e2b16a42f7d5b01814307ff41012c2e1ea
treee85fb8120b21246c9ce7953c90f9ae4d46380950
parentb3469dd8adade11e8234854d79b43daf8ce478c9
net: dsa: mv88e6xxx: add set_switch_mac to ops

Add a set_switch_mac chip-wide function to mv88e6xxx_ops and remove
MV88E6XXX_FLAG_G2_SWITCH_MAC flags.

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/mv88e6xxx.h