X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fwatchdog%2Forion_wdt.c;h=c6b8f4a43bdeff2df7faa71f6356819f8129c326;hb=00e6fa5fe15c0eccc95a9d1afc4615e467ee8dc9;hp=ef0c628d503797d87b223eb2cbc81061290a10bc;hpb=b3890e4704594fa23abe1395d1fafc97d3214be8;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c index ef0c628d5037..c6b8f4a43bde 100644 --- a/drivers/watchdog/orion_wdt.c +++ b/drivers/watchdog/orion_wdt.c @@ -567,6 +567,7 @@ static int orion_wdt_probe(struct platform_device *pdev) dev->wdt.timeout = wdt_max_duration; dev->wdt.max_timeout = wdt_max_duration; + dev->wdt.parent = &pdev->dev; watchdog_init_timeout(&dev->wdt, heartbeat, &pdev->dev); platform_set_drvdata(pdev, &dev->wdt);