]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/gef_wdt.c
MIPS: Refactor arch/mips/boot/compressed/Makefile
[mv-sheeva.git] / drivers / watchdog / gef_wdt.c
index ca0f4c6cf5ab98217f1b444a94611b0098781041..1df284f9c2a1b3fcd9e667b49915e4dbc21f5de3 100644 (file)
@@ -273,7 +273,7 @@ static int __devinit gef_wdt_probe(struct of_device *dev,
                bus_clk = freq;
 
        /* Map devices registers into memory */
-       gef_wdt_regs = of_iomap(dev->node, 0);
+       gef_wdt_regs = of_iomap(dev->dev.of_node, 0);
        if (gef_wdt_regs == NULL)
                return -ENOMEM;