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)
commitcb5761f774dffeff7cf19d40803613db7089c9af
treec4fe27b8972faab3bd5e33a5a24ae105c510c454
parentf19955a01482d118eac0fdaf530ec6e5b08cf414
net: fec_mxc: adjust prototype of fec_get_miibus() for DM_ETH

commit 306dd7dabd64 ("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