net: dsa: mv88e6xxx: fix 88E6191 ops
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 28 Mar 2017 17:50:34 +0000 (13:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Mar 2017 04:52:52 +0000 (21:52 -0700)
The mv88e6xxx_info structure for the 88E6191 chip was pointing the
mv88e6391_ops definition instead of mv88e6191_ops. Fix this.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c

index 3918790c4a75a94ea4e7632f1a30c617b49e5cc6..da7bf608cc58992c71b68e4d33295e4b908795af 100644 (file)
@@ -3846,7 +3846,7 @@ static const struct mv88e6xxx_info mv88e6xxx_table[] = {
                .atu_move_port_mask = 0x1f,
                .tag_protocol = DSA_TAG_PROTO_DSA,
                .flags = MV88E6XXX_FLAGS_FAMILY_6390,
-               .ops = &mv88e6391_ops,
+               .ops = &mv88e6191_ops,
        },
 
        [MV88E6240] = {