mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: watchdog: mpc8xxx_wdt: fix build
This commit is contained in:
commit
0c3efe54d0
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ static int __devinit mpc8xxx_wdt_probe(struct platform_device *ofdev)
|
|||
|
||||
if (!ofdev->dev.of_match)
|
||||
return -EINVAL;
|
||||
wdt_type = match->data;
|
||||
wdt_type = ofdev->dev.of_match->data;
|
||||
|
||||
if (!freq || freq == -1)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue