net: dsa: mv88e6xxx: Enable CMODE config support for 6390X
authorMartin Hundebøll <mnhu@prevas.dk>
Wed, 19 Jul 2017 06:17:02 +0000 (08:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:26:01 +0000 (22:26 -0700)
commitbb0a2675f72b458e64f47071e8aabdb225a6af4d
treee8334147b064f6a30f3d84cc3c37ab6b255f4dcf
parent65e3c766359992f6cbe3fa1ef0a19546ecbdf380
net: dsa: mv88e6xxx: Enable CMODE config support for 6390X

Commit f39908d3b1c45 ('net: dsa: mv88e6xxx: Set the CMODE for mv88e6390
ports 9 & 10') added support for setting the CMODE for the 6390X family,
but only enabled it for 9290 and 6390 - and left out 6390X.

Fix support for setting the CMODE on 6390X also by assigning
mv88e6390x_port_set_cmode() to the .port_set_cmode function pointer in
mv88e6390x_ops too.

Fixes: f39908d3b1c4 ("net: dsa: mv88e6xxx: Set the CMODE for mv88e6390 ports 9 & 10")
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c