summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-07-24 16:59:07 +1000
committerDavid S. Miller <davem@davemloft.net>2017-07-24 17:23:55 -0700
commitd57b9db1ae0cde366c9cc6b038cb1e8ff05557a1 (patch)
tree13c5975b49ad03a39183ce6109698fbd45eceaa6 /include
parentc7472ec4a00c298d2b55c0aa945b8a4c10f6f898 (diff)
downloadop-kernel-dev-d57b9db1ae0cde366c9cc6b038cb1e8ff05557a1.zip
op-kernel-dev-d57b9db1ae0cde366c9cc6b038cb1e8ff05557a1.tar.gz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud