All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] phy: export genphy_parse_link()
@ 2012-11-28 10:15 yegorslists at googlemail.com
  2012-11-28 10:15 ` [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver yegorslists at googlemail.com
  2013-01-15 10:41 ` [U-Boot] [PATCH 1/2] phy: export genphy_parse_link() Yegor Yefremov
  0 siblings, 2 replies; 16+ messages in thread
From: yegorslists at googlemail.com @ 2012-11-28 10:15 UTC (permalink / raw)
  To: u-boot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 drivers/net/phy/phy.c |    2 +-
 include/phy.h         |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 1ffa791..c28ea70 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -279,7 +279,7 @@ int genphy_update_link(struct phy_device *phydev)
  *
  * Stolen from Linux's mii.c and phy_device.c
  */
-static int genphy_parse_link(struct phy_device *phydev)
+int genphy_parse_link(struct phy_device *phydev)
 {
 	int mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_BMSR);
 
diff --git a/include/phy.h b/include/phy.h
index 3c30f11..1342ef7 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -209,6 +209,7 @@ int phy_register(struct phy_driver *drv);
 int genphy_config_aneg(struct phy_device *phydev);
 int genphy_restart_aneg(struct phy_device *phydev);
 int genphy_update_link(struct phy_device *phydev);
+int genphy_parse_link(struct phy_device *phydev);
 int genphy_config(struct phy_device *phydev);
 int genphy_startup(struct phy_device *phydev);
 int genphy_shutdown(struct phy_device *phydev);
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-07-08 15:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 10:15 [U-Boot] [PATCH 1/2] phy: export genphy_parse_link() yegorslists at googlemail.com
2012-11-28 10:15 ` [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver yegorslists at googlemail.com
2012-11-29  6:27   ` Marek Vasut
2012-11-29  7:32     ` Yegor Yefremov
2012-11-29  7:43       ` Marek Vasut
2012-11-29  7:53     ` Henrik Nordström
2012-11-29  8:07       ` Yegor Yefremov
2012-11-29 12:55         ` Marek Vasut
2012-11-29 13:13           ` Yegor Yefremov
2012-11-29 14:29             ` Marek Vasut
2012-11-29 14:40               ` Yegor Yefremov
2012-11-29 14:51                 ` Marek Vasut
2012-11-29 14:59                   ` Yegor Yefremov
2013-07-08 15:47   ` Joe Hershberger
2013-01-15 10:41 ` [U-Boot] [PATCH 1/2] phy: export genphy_parse_link() Yegor Yefremov
2013-07-08 15:45   ` Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.