提交 0c3efe54 编写于 作者: L Linus Torvalds
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册