All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] More mdio device build failure fixes
@ 2016-01-12  2:24 Andrew Lunn
  2016-01-12  2:24 ` [PATCH net-next 1/2] net: freescale: ucc_geth: Fix build error from phy_device API change Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Lunn @ 2016-01-12  2:24 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Andrew Lunn

These patches fix two build errors reported by Guenter Roeck

Andrew Lunn (2):
  net: freescale: ucc_geth: Fix build error from phy_device API change
  net: freescale: mac-fec: Fix build error from phy_device API change

 drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 2 +-
 drivers/net/ethernet/freescale/ucc_geth.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.0.rc3

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

* [PATCH net-next 1/2] net: freescale: ucc_geth: Fix build error from phy_device API change
  2016-01-12  2:24 [PATCH net-next 0/2] More mdio device build failure fixes Andrew Lunn
@ 2016-01-12  2:24 ` Andrew Lunn
  2016-01-12  2:24 ` [PATCH net-next 2/2] net: freescale: mac-fec: " Andrew Lunn
  2016-01-12  4:27 ` [PATCH net-next 0/2] More mdio device build failure fixes David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2016-01-12  2:24 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Andrew Lunn

dev has moved inside the new mdio structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c
index 0e7f24ec3239..cbddbe2d0429 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.c
+++ b/drivers/net/ethernet/freescale/ucc_geth.c
@@ -1716,7 +1716,7 @@ static void uec_configure_serdes(struct net_device *dev)
 
 	phy_write(tbiphy, ENET_TBI_MII_CR, TBICR_SETTINGS);
 
-	put_device(&tbiphy->dev);
+	put_device(&tbiphy->mdio.dev);
 }
 
 /* Configure the PHY for dev.
-- 
2.7.0.rc3

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

* [PATCH net-next 2/2] net: freescale: mac-fec: Fix build error from phy_device API change
  2016-01-12  2:24 [PATCH net-next 0/2] More mdio device build failure fixes Andrew Lunn
  2016-01-12  2:24 ` [PATCH net-next 1/2] net: freescale: ucc_geth: Fix build error from phy_device API change Andrew Lunn
@ 2016-01-12  2:24 ` Andrew Lunn
  2016-01-12  4:27 ` [PATCH net-next 0/2] More mdio device build failure fixes David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2016-01-12  2:24 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Andrew Lunn

dev has moved inside the new mdio structure.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
index c158d409f6af..bade2f8f9b5c 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -363,7 +363,7 @@ static void stop(struct net_device *dev)
 	const struct fs_platform_info *fpi = fep->fpi;
 	struct fec __iomem *fecp = fep->fec.fecp;
 
-	struct fec_info* feci= fep->phydev->bus->priv;
+	struct fec_info *feci = fep->phydev->mdio.bus->priv;
 
 	int i;
 
-- 
2.7.0.rc3

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

* Re: [PATCH net-next 0/2] More mdio device build failure fixes
  2016-01-12  2:24 [PATCH net-next 0/2] More mdio device build failure fixes Andrew Lunn
  2016-01-12  2:24 ` [PATCH net-next 1/2] net: freescale: ucc_geth: Fix build error from phy_device API change Andrew Lunn
  2016-01-12  2:24 ` [PATCH net-next 2/2] net: freescale: mac-fec: " Andrew Lunn
@ 2016-01-12  4:27 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2016-01-12  4:27 UTC (permalink / raw)
  To: andrew; +Cc: netdev

From: Andrew Lunn <andrew@lunn.ch>
Date: Tue, 12 Jan 2016 03:24:29 +0100

> These patches fix two build errors reported by Guenter Roeck

Series applied, thanks Andrew.

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

end of thread, other threads:[~2016-01-12  4:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-12  2:24 [PATCH net-next 0/2] More mdio device build failure fixes Andrew Lunn
2016-01-12  2:24 ` [PATCH net-next 1/2] net: freescale: ucc_geth: Fix build error from phy_device API change Andrew Lunn
2016-01-12  2:24 ` [PATCH net-next 2/2] net: freescale: mac-fec: " Andrew Lunn
2016-01-12  4:27 ` [PATCH net-next 0/2] More mdio device build failure fixes David Miller

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.