mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
watchdog: Fix build failure with OF changes
commit 61c7a080a5 ( 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]>
This commit is contained in:
parent
b53550781b
commit
de2b606c24
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue