diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-05-18 16:01:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 18:21:07 +0300 |
commit | 5f5c5449acad0cd3322e53e1ac68c044483b0aa5 (patch) | |
tree | 7194dda3540597340c072a24d3ad14c89a9d7e34 /drivers/regulator/ltc3589.c | |
parent | b16c4c48390eb14a1bb4a06702a8c65b837c4566 (diff) | |
download | linux-5f5c5449acad0cd3322e53e1ac68c044483b0aa5.tar.xz |
sh_eth: Use platform device for printing before register_netdev()
The MDIO initialization failure message is printed using the network
device, before it has been registered, leading to:
(null): failed to initialise MDIO
Use the platform device instead to fix this:
sh-eth ee700000.ethernet: failed to initialise MDIO
Fixes: daacf03f0bbfefee ("sh_eth: Register MDIO bus before registering the network device")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/ltc3589.c')
0 files changed, 0 insertions, 0 deletions