]> git.baikalelectronics.ru Git - kernel.git/commit
of: phy: Only register a phy device for phys
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:17 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:26 +0000 (14:31 -0500)
commit8fa0c483ee1344d8fdce325a46f8f74b646992d9
tree30f33b44467b9080d612a659900440a6c5301949
parent76e52a13eb873e1468139a8072c6cff9caedd832
of: phy: Only register a phy device for phys

We will soon support devices other than phys on the mdio bus. Look at
a child's compatibility string to determine if it is a phy, before
registering a phy device.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c