diff options
author | Ezequiel Garcia <[email protected]> | 2014-07-23 16:47:31 -0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-24 18:09:52 -0700 |
commit | a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75 (patch) | |
tree | be6b693a78170b2e6465eb9a8d66e10c53fcfed4 /net/lapb/lapb_timer.c | |
parent | 042d7654ecb68383c392e3c7e86e04de023f65f9 (diff) |
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 <[email protected]>
Tested-by: Florian Fainelli <[email protected]>
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions