Watchdog: Fix parent of watchdog_devices
[deliverable/linux.git] / drivers / watchdog / ie6xx_wdt.c
index 07f88f54e5c03008159a5a276056340e65058086..78c2541f5d52d31af60e239dafd417b2cabd4cc8 100644 (file)
@@ -267,6 +267,7 @@ static int ie6xx_wdt_probe(struct platform_device *pdev)
 
        ie6xx_wdt_dev.timeout = timeout;
        watchdog_set_nowayout(&ie6xx_wdt_dev, nowayout);
+       ie6xx_wdt_dev.parent = &pdev->dev;
 
        spin_lock_init(&ie6xx_wdt_data.unlock_sequence);
 
@@ -313,7 +314,6 @@ static struct platform_driver ie6xx_wdt_driver = {
        .remove         = ie6xx_wdt_remove,
        .driver         = {
                .name   = DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
This page took 0.024662 seconds and 5 git commands to generate.