From: Friedrich Oslage Date: Mon, 9 Mar 2009 03:13:42 +0000 (-0700) Subject: sunhme: Fix qfe parent detection. X-Git-Tag: v2.6.29~4^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0796e75503adc6b0a119493ce2e599fb5fd8f96e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git sunhme: Fix qfe parent detection. Signed-off-by: Friedrich Oslage Signed-off-by: David S. Miller --- diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index cc4013b..0ff837a 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c @@ -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"))