Commit a42f5c17 authored by Tom Lendacky's avatar Tom Lendacky Committed by David S. Miller

amd-xgbe-phy: Fix build break for missing declaration

A previous patch inadvertently deleted a declaration in the
amd_xgbe_an_tx_training function causing the build to fail.

Add the declaration for 'priv' back to the function.
Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b3bfffc
...@@ -638,6 +638,7 @@ static int amd_xgbe_phy_set_mode(struct phy_device *phydev, ...@@ -638,6 +638,7 @@ static int amd_xgbe_phy_set_mode(struct phy_device *phydev,
static enum amd_xgbe_phy_an amd_xgbe_an_tx_training(struct phy_device *phydev, static enum amd_xgbe_phy_an amd_xgbe_an_tx_training(struct phy_device *phydev,
enum amd_xgbe_phy_rx *state) enum amd_xgbe_phy_rx *state)
{ {
struct amd_xgbe_phy_priv *priv = phydev->priv;
int ad_reg, lp_reg, ret; int ad_reg, lp_reg, ret;
*state = AMD_XGBE_RX_COMPLETE; *state = AMD_XGBE_RX_COMPLETE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment