Skip to content
Snippets Groups Projects
Commit 0796e755 authored by Friedrich Oslage's avatar Friedrich Oslage Committed by David S. Miller
Browse files

sunhme: Fix qfe parent detection.

parent d0cac39e
No related branches found
No related tags found
No related merge requests found
...@@ -2630,8 +2630,6 @@ static int __devinit happy_meal_sbus_probe_one(struct of_device *op, int is_qfe) ...@@ -2630,8 +2630,6 @@ static int __devinit happy_meal_sbus_probe_one(struct of_device *op, int is_qfe)
int err = -ENODEV; int err = -ENODEV;
sbus_dp = to_of_device(op->dev.parent)->node; 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. */ /* We can match PCI devices too, do not accept those here. */
if (strcmp(sbus_dp->name, "sbus")) if (strcmp(sbus_dp->name, "sbus"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment