]> 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)
commit52d3de5026475021f788a65f6c24a4cb45a0d249
tree30f33b44467b9080d612a659900440a6c5301949
parenta97e005acb8c49878641756affb074876a213c54
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