dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Anatolij Gustschin 2010-06-03 03:30:31 +02:00 committed by Grant Likely
parent a26f95fed3
commit b74dbf2aed
1 changed files with 1 additions and 1 deletions

View 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;