summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEzequiel Garcia2014-07-23 21:47:31 +0200
committerDavid S. Miller2014-07-25 03:09:52 +0200
commita71e3c37960ce5f9c6a519bc1215e3ba9fa83e75 (patch)
treebe6b693a78170b2e6465eb9a8d66e10c53fcfed4 /crypto
parentbnx2x: fix set_setting for some PHYs (diff)
downloadkernel-qcow2-linux-a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75.tar.gz
kernel-qcow2-linux-a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75.tar.xz
kernel-qcow2-linux-a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75.zip
net: phy: Set the driver when registering an MDIO bus device
mdiobus_register() registers a device which is already bound to a driver. Hence, the driver pointer should be set properly in order to track down the driver associated to the MDIO bus. This will be used to allow ethernet driver to pin down a MDIO bus driver, preventing it from being unloaded while the PHY device is running. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions