projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b535507
)
watchdog: Fix build failure with OF changes
author
Michael Guntsche
<
[email protected]
>
Wed, 2 Jun 2010 08:25:52 +0000
(
02:25
-0600)
committer
Grant Likely
<
[email protected]
>
Wed, 2 Jun 2010 19:45:05 +0000
(13:45 -0600)
commit
61c7a080a5a061c976988fd4b844dfb468dda255
( of: Always use
'struct device.of_node' to get device node pointer.) missed
drivers/watchdog/mpc8xxx_wdt.c. This patch fixes it
Signed-off-by: Michael Guntsche <
[email protected]
>
Signed-off-by: Grant Likely <
[email protected]
>
drivers/watchdog/mpc8xxx_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/mpc8xxx_wdt.c
b/drivers/watchdog/mpc8xxx_wdt.c
index 6622335773bbc53fd2f0c3aa90b986d6b2dca0ea..4cda64dd309c0367208358ef6eb41b73180969cc 100644
(file)
--- a/
drivers/watchdog/mpc8xxx_wdt.c
+++ b/
drivers/watchdog/mpc8xxx_wdt.c
@@
-189,7
+189,7
@@
static int __devinit mpc8xxx_wdt_probe(struct of_device *ofdev,
const struct of_device_id *match)
{
int ret;
- struct device_node *np = ofdev->node;
+ struct device_node *np = ofdev->
dev.of_
node;
struct mpc8xxx_wdt_type *wdt_type = match->data;
u32 freq = fsl_get_sys_freq();
bool enabled;