diff options
author | Grant Likely | 2009-04-25 14:52:51 +0200 |
---|---|---|
committer | David S. Miller | 2009-04-27 11:53:46 +0200 |
commit | fa94f6d93c5382810ff41f010f12ca8698fc775e (patch) | |
tree | 177e38a91f53221e0b15f8b5ed6b0ae66f6ffc52 /drivers/net/fec_mpc52xx_phy.c | |
parent | phylib: rework to prepare for OF registration of PHYs (diff) | |
download | kernel-qcow2-linux-fa94f6d93c5382810ff41f010f12ca8698fc775e.tar.gz kernel-qcow2-linux-fa94f6d93c5382810ff41f010f12ca8698fc775e.tar.xz kernel-qcow2-linux-fa94f6d93c5382810ff41f010f12ca8698fc775e.zip |
phylib: add *_direct() variants of phy_connect and phy_attach functions
Add phy_connect_direct() and phy_attach_direct() functions so that
drivers can use a pointer to the phy_device instead of trying to determine
the phy's bus_id string.
This patch is useful for OF device tree descriptions of phy devices where
the driver doesn't need or know what the bus_id value in order to get a
phy_device pointer.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fec_mpc52xx_phy.c')
0 files changed, 0 insertions, 0 deletions