commit | daacf03f0bbfefee3df107c3f7659d22e22538a7 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | Thu Mar 20 15:00:34 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 20 17:22:10 2014 -0400 |
tree | 68f9eec2713d14bf91ac4651288e7514d9234adc | |
parent | bd920ff553ba17f19372501a14e432d9d92b102b [diff] |
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 <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>