commit | 33d6737761ea425d43f3b6e4561573a4020982f2 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Mar 10 16:57:11 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 11 17:56:28 2015 -0400 |
tree | be03975d5adacb5c523a1c428c806a7b91e1a0dd | |
parent | d26ea6cc48da5a97d8188220c334cf3669fa8dc7 [diff] |
of: mdio: export of_mdio_parse_addr Export of_mdio_parse_addr() which allows parsing a given Ethernet PHY node MDIO address, verify it is within the allowed range, and return its value. This is going to be useful for the DSA code which needs to deal with multiple layers of MDIO buses. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>