Commit de2b606c authored by Michael Guntsche's avatar Michael Guntsche Committed by Grant Likely

watchdog: Fix build failure with OF changes

commit 61c7a080 ( 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: default avatarMichael Guntsche <mike@it-loops.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent b5355078
...@@ -189,7 +189,7 @@ static int __devinit mpc8xxx_wdt_probe(struct of_device *ofdev, ...@@ -189,7 +189,7 @@ static int __devinit mpc8xxx_wdt_probe(struct of_device *ofdev,
const struct of_device_id *match) const struct of_device_id *match)
{ {
int ret; int ret;
struct device_node *np = ofdev->node; struct device_node *np = ofdev->dev.of_node;
struct mpc8xxx_wdt_type *wdt_type = match->data; struct mpc8xxx_wdt_type *wdt_type = match->data;
u32 freq = fsl_get_sys_freq(); u32 freq = fsl_get_sys_freq();
bool enabled; bool enabled;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment