forcedeth: stats updated with a deferrable timer
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / nvidia / forcedeth.c
index b34975dca5dfe6431b6c5e6a373384a60423b767..0d8d5c0ab3368e2626c3655b3df2ad07c1666c66 100644 (file)
@@ -5532,7 +5532,7 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
        init_timer(&np->nic_poll);
        np->nic_poll.data = (unsigned long) dev;
        np->nic_poll.function = nv_do_nic_poll; /* timer handler */
-       init_timer(&np->stats_poll);
+       init_timer_deferrable(&np->stats_poll);
        np->stats_poll.data = (unsigned long) dev;
        np->stats_poll.function = nv_do_stats_poll;     /* timer handler */