提交 0796e755 编写于 作者: F Friedrich Oslage 提交者: David S. Miller

sunhme: Fix qfe parent detection.

Signed-off-by: NFriedrich Oslage <bluebird@gentoo.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d0cac39e
......@@ -2630,8 +2630,6 @@ static int __devinit happy_meal_sbus_probe_one(struct of_device *op, int is_qfe)
int err = -ENODEV;
sbus_dp = to_of_device(op->dev.parent)->node;
if (is_qfe)
sbus_dp = to_of_device(op->dev.parent->parent)->node;
/* We can match PCI devices too, do not accept those here. */
if (strcmp(sbus_dp->name, "sbus"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册