net/mdio: fix mdio_bus_match for c45 PHY
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 17 Jul 2015 10:07:19 +0000 (18:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 07:16:37 +0000 (00:16 -0700)
commite0536cd910d5bc98300d7830f1d9317df9ab8afa
treeab3acedbaf48b673869385e9c37103b855277021
parent8bf4ada2e21378816b28205427ee6b0e1ca4c5f1
net/mdio: fix mdio_bus_match for c45 PHY

We store c45 PHY's id information in c45_ids, so it should be used to
check the matching between PHY driver and PHY device for c45 PHY.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c