projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26f95f
)
of/watchdog: gef_wdt.c: fix build breakage
author
Anatolij Gustschin
<agust@denx.de>
Thu, 3 Jun 2010 01:30:31 +0000
(
03:30
+0200)
committer
Grant Likely
<grant.likely@secretlab.ca>
Thu, 3 Jun 2010 03:02:41 +0000
(21:02 -0600)
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>
drivers/watchdog/gef_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/gef_wdt.c
b/drivers/watchdog/gef_wdt.c
index
ca0f4c6
..
1df284f
100644
(file)
--- 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;