summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-03 03:30:31 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-06-02 21:02:41 -0600
commitb74dbf2aed8d8c4f93ac2c44bab5c81f65be62a0 (patch)
tree6fc3c6340dcf803a3bc560da91b6c1470f12db21 /drivers/watchdog
parenta26f95fed31d917eee616d1cd6360e4ce782e3dc (diff)
downloadblackbird-op-linux-b74dbf2aed8d8c4f93ac2c44bab5c81f65be62a0.tar.gz
blackbird-op-linux-b74dbf2aed8d8c4f93ac2c44bab5c81f65be62a0.zip
of/watchdog: gef_wdt.c: fix build breakage
Fixes build error caused by the OF device_node pointer being moved into struct device Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/gef_wdt.c2
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,
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;
OpenPOWER on IntegriCloud