diff options
Diffstat (limited to 'drivers/watchdog/gef_wdt.c')
-rw-r--r-- | drivers/watchdog/gef_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c index ca0f4c6cf5ab..1df284f9c2a1 100644 --- a/drivers/watchdog/gef_wdt.c +++ b/drivers/watchdog/gef_wdt.c | |||
@@ -273,7 +273,7 @@ static int __devinit gef_wdt_probe(struct of_device *dev, | |||
273 | bus_clk = freq; | 273 | bus_clk = freq; |
274 | 274 | ||
275 | /* Map devices registers into memory */ | 275 | /* Map devices registers into memory */ |
276 | gef_wdt_regs = of_iomap(dev->node, 0); | 276 | gef_wdt_regs = of_iomap(dev->dev.of_node, 0); |
277 | if (gef_wdt_regs == NULL) | 277 | if (gef_wdt_regs == NULL) |
278 | return -ENOMEM; | 278 | return -ENOMEM; |
279 | 279 | ||