提交 c3a8b85f 编写于 作者: D David S. Miller 提交者: David S. Miller

[SPARC64]: Fix typo in clock_probe().

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 91521485
......@@ -783,8 +783,8 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
/* On an Enterprise system there can be multiple mostek clocks.
* We should only match the one that is on the central FHC bus.
*/
if (!strcmp(dp->parent, "fhc") &&
strcmp(dp->parent->parent, "central") != 0)
if (!strcmp(dp->parent->name, "fhc") &&
strcmp(dp->parent->parent->name, "central") != 0)
return -ENODEV;
size = (op->resource[0].end - op->resource[0].start) + 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册