]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net:dsa:mv88e6xxx: use watchdog ops for 6097 chip
authorVolodymyr Bendiuga <volodymyr.bendiuga@gmail.com>
Tue, 14 Feb 2017 10:29:30 +0000 (11:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 16:45:28 +0000 (11:45 -0500)
mv88e6097 chip requires watchdog_ops to be set.

Signed-off-by: Volodymyr Bendiuga <volodymyr.bendiuga@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c

index 7658284beaf91cba64dea9e0db984cd67281e531..03dc886ed3d6be1747d5cef7616f2eb3074a5492 100644 (file)
@@ -3160,6 +3160,7 @@ static const struct mv88e6xxx_ops mv88e6097_ops = {
        .stats_get_stats = mv88e6095_stats_get_stats,
        .g1_set_cpu_port = mv88e6095_g1_set_cpu_port,
        .g1_set_egress_port = mv88e6095_g1_set_egress_port,
+       .watchdog_ops = &mv88e6097_watchdog_ops,
        .mgmt_rsvd2cpu = mv88e6095_g2_mgmt_rsvd2cpu,
        .reset = mv88e6352_g1_reset,
 };