X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fwatchdog%2Fvia_wdt.c;h=5f9cbc37520d2e4fd029ba02e594e9ac024c7e6f;hb=84a73014d86fd660822a20c032625e3afe99ca58;hp=56369c4f1961d0c2001094f680a6c7ed81c54ca2;hpb=9c37f95936b6c169e89733747504879b06e77c24;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c index 56369c4f1961..5f9cbc37520d 100644 --- a/drivers/watchdog/via_wdt.c +++ b/drivers/watchdog/via_wdt.c @@ -206,6 +206,7 @@ static int wdt_probe(struct pci_dev *pdev, timeout = WDT_TIMEOUT; wdt_dev.timeout = timeout; + wdt_dev.parent = &pdev->dev; watchdog_set_nowayout(&wdt_dev, nowayout); if (readl(wdt_mem) & VIA_WDT_FIRED) wdt_dev.bootstatus |= WDIOF_CARDRESET;