From: Ezequiel Garcia Date: Wed, 23 Jul 2014 19:47:31 +0000 (-0300) Subject: net: phy: Set the driver when registering an MDIO bus device X-Git-Tag: omap-for-v3.17/fixes-against-rc2~215^2~12^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71e3c37960ce5f9c6a519bc1215e3ba9fa83e75;p=pandora-kernel.git 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 Tested-by: Florian Fainelli Signed-off-by: Ezequiel Garcia Signed-off-by: David S. Miller --- Reading git-diff-tree failed