net: fec_mxc: specify the registered eth index by dev_id
authorAndy Duan <fugang.duan@nxp.com>
Mon, 10 Apr 2017 11:44:35 +0000 (19:44 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
commit979a58936bc2b0108363501f9fd7e53ce2519bb0
tree43d6f45c1e0945fd95eec49320f8736bb920615d
parentf01e4e1e148b11b4021e241e3940c664bcd79b71
net: fec_mxc: specify the registered eth index by dev_id

Specify the registered eth index by dev_id.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c