net: fec_mxc: simplify fec_get_miibus
authorPeng Fan <peng.fan@nxp.com>
Wed, 28 Mar 2018 12:54:12 +0000 (20:54 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 13 Apr 2018 20:47:37 +0000 (15:47 -0500)
commit1bcabd79215ece91ee8f79e768c4886efae182ba
tree15f5d726a329e5d9fac96b1d28de7ade49cf6a7e
parent07763ac9282f8d72c0f1e7d6c863a107997cbc3e
net: fec_mxc: simplify fec_get_miibus

No need to provide two prototype for this function.
Use ulong for the first parameter, then this function
could be shared for DM/non DM case.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c
include/netdev.h