From: Laurent Pinchart Date: Thu, 20 Mar 2014 14:00:34 +0000 (+0100) Subject: sh_eth: Register MDIO bus before registering the network device X-Git-Tag: v3.15-rc1~113^2~110^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daacf03f0bbfefee3df107c3f7659d22e22538a7;p=pandora-kernel.git sh_eth: Register MDIO bus before registering the network device Network API functions that rely on the MDIO bus can be called as soon as the driver calls register_netdev(). Register the MDIO bus before the network device to avoid race conditions. Signed-off-by: Laurent Pinchart Acked-by: Geert Uytterhoeven Signed-off-by: David S. Miller --- Reading git-diff-tree failed