diff options
author | Grygorii Strashko | 2014-07-16 14:13:03 +0200 |
---|---|---|
committer | David S. Miller | 2014-07-17 08:33:16 +0200 |
commit | 0a0ea068728138641037daa5fce33cb06724285d (patch) | |
tree | bada37eb1a3bca6993d078ad2d3ea98afe3e4cce /lib/hweight.c | |
parent | net: davinci_mdio: reuse for keystone2 arch (diff) | |
download | kernel-qcow2-linux-0a0ea068728138641037daa5fce33cb06724285d.tar.gz kernel-qcow2-linux-0a0ea068728138641037daa5fce33cb06724285d.tar.xz kernel-qcow2-linux-0a0ea068728138641037daa5fce33cb06724285d.zip |
net: davinci_mdio: allow to create phys from dt
This patch allows to create PHYs from DT in case
if they are explicitly defined. The of_mdiobus_register() is
used for such purposes.
For backward compatibility, call of_mdiobus_register() only in case
if at least one PHY's child is defined in DT, otherwise rollback to
mdiobus_register().
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions