commit | d57b9db1ae0cde366c9cc6b038cb1e8ff05557a1 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 24 16:59:07 2017 +1000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 24 17:23:55 2017 -0700 |
tree | 13c5975b49ad03a39183ce6109698fbd45eceaa6 | |
parent | c7472ec4a00c298d2b55c0aa945b8a4c10f6f898 [diff] |
ftgmac100: Make the MDIO bus a child of the ethernet device Populate mii_bus->parent with our own platform device before registering, which makes it easier to locate the MDIO bus in sysfs when trying to diagnose problems. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Joel Stanley <joel@jms.id.au> Signed-off-by: David S. Miller <davem@davemloft.net>