]> git.baikalelectronics.ru Git - uboot.git/commit
net: fec_mxc: adjust prototype of fec_get_miibus() for DM_ETH
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 14 Jul 2017 06:53:57 +0000 (08:53 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 28 Jul 2017 11:41:49 +0000 (13:41 +0200)
commit647ccf435b966840b71835827084dd8deea5bbfa
treec4fe27b8972faab3bd5e33a5a24ae105c510c454
parent175d6f767dd805c1c3231b4c16abb675cdc9a31a
net: fec_mxc: adjust prototype of fec_get_miibus() for DM_ETH

commit 508583fb4ecd ("net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH")
has broken the build of the fec_mxc driver with CONFIG_DM_ETH
enabled because it changed the parameters passed to *fec_get_miibus()
without changing the functions prototype.

This patch fixes up the prototype of fec_get_miibus() for the DM_ETH case.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
drivers/net/fec_mxc.c
include/netdev.h