]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/watchdog/mpc8xxx_wdt.c
cs5535-mfgpt: reuse timers that have never been set up
[karo-tx-linux.git] / drivers / watchdog / mpc8xxx_wdt.c
index 6622335773bbc53fd2f0c3aa90b986d6b2dca0ea..4cda64dd309c0367208358ef6eb41b73180969cc 100644 (file)
@@ -189,7 +189,7 @@ static int __devinit mpc8xxx_wdt_probe(struct of_device *ofdev,
                                       const struct of_device_id *match)
 {
        int ret;
-       struct device_node *np = ofdev->node;
+       struct device_node *np = ofdev->dev.of_node;
        struct mpc8xxx_wdt_type *wdt_type = match->data;
        u32 freq = fsl_get_sys_freq();
        bool enabled;