diff options
-rw-r--r-- | drivers/net/cxgb3/ael1002.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c index 5c3c05da4d96..e1b22490ff59 100644 --- a/drivers/net/cxgb3/ael1002.c +++ b/drivers/net/cxgb3/ael1002.c | |||
@@ -1005,7 +1005,8 @@ static int ael2005_reset(struct cphy *phy, int wait) | |||
1005 | { 0, 0, 0, 0 } | 1005 | { 0, 0, 0, 0 } |
1006 | }; | 1006 | }; |
1007 | 1007 | ||
1008 | int err, lasi_ctrl; | 1008 | int err; |
1009 | unsigned int lasi_ctrl; | ||
1009 | 1010 | ||
1010 | err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, &lasi_ctrl); | 1011 | err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, &lasi_ctrl); |
1011 | if (err) | 1012 | if (err) |