diff options
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/dsa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 92e71d2a2ccd..a28ef432d016 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -410,6 +410,7 @@ static int dsa_of_probe(struct platform_device *pdev) | |||
410 | chip_index++; | 410 | chip_index++; |
411 | cd = &pd->chip[chip_index]; | 411 | cd = &pd->chip[chip_index]; |
412 | 412 | ||
413 | cd->of_node = child; | ||
413 | cd->mii_bus = &mdio_bus->dev; | 414 | cd->mii_bus = &mdio_bus->dev; |
414 | 415 | ||
415 | sw_addr = of_get_property(child, "reg", NULL); | 416 | sw_addr = of_get_property(child, "reg", NULL); |