]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/watchdog/omap_wdt.c
[WATCHDOG] watchdog miscdevice patch
[linux-2.6-omap-h63xx.git] / drivers / char / watchdog / omap_wdt.c
index 5dbd7dc2936f73981ef889dcb1840aee9b496b84..6c6f97332dbb4ef076e2e917d4d0b1a50f3b4591 100644 (file)
@@ -290,7 +290,7 @@ static int __init omap_wdt_probe(struct platform_device *pdev)
        omap_wdt_disable();
        omap_wdt_adjust_timeout(timer_margin);
 
-       omap_wdt_miscdev.dev = &pdev->dev;
+       omap_wdt_miscdev.parent = &pdev->dev;
        ret = misc_register(&omap_wdt_miscdev);
        if (ret)
                goto fail;