diff options
author | Michael Guntsche <mike@it-loops.com> | 2010-06-02 04:25:52 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-06-02 15:45:05 -0400 |
commit | de2b606c24f178038b95a831f21a35a29faa6eab (patch) | |
tree | 7bd7e7b84805a3b957d4b41cc19f68ea8156e211 /drivers/watchdog | |
parent | b53550781b7d51036aea3b3ee63ece3c6c8f4597 (diff) |
watchdog: Fix build failure with OF changes
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 <mike@it-loops.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/mpc8xxx_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c index 6622335773bb..4cda64dd309c 100644 --- 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, | |||
189 | const struct of_device_id *match) | 189 | const struct of_device_id *match) |
190 | { | 190 | { |
191 | int ret; | 191 | int ret; |
192 | struct device_node *np = ofdev->node; | 192 | struct device_node *np = ofdev->dev.of_node; |
193 | struct mpc8xxx_wdt_type *wdt_type = match->data; | 193 | struct mpc8xxx_wdt_type *wdt_type = match->data; |
194 | u32 freq = fsl_get_sys_freq(); | 194 | u32 freq = fsl_get_sys_freq(); |
195 | bool enabled; | 195 | bool enabled; |