diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-12-19 05:16:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-19 05:16:10 +0100 |
commit | 5ee6f6a17cfde9c3141e4d57cf88b5cdf638b463 (patch) | |
tree | 65a6fc290098b6e6b06f9f721ed7e52d62c53575 /drivers/net/phy/broadcom.c | |
parent | e1000e: LED settings in EEPROM ignored on 82571 and 82572 (diff) | |
download | linux-5ee6f6a17cfde9c3141e4d57cf88b5cdf638b463.tar.xz linux-5ee6f6a17cfde9c3141e4d57cf88b5cdf638b463.zip |
broadcom: bcm54xx_shadow_read() errors ignored in bcm54xx_adjust_rxrefclk()
If not signed read errors are ignored.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/broadcom.c')
-rw-r--r-- | drivers/net/phy/broadcom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index f63c96a4ecb4..c13cf64095b6 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -326,7 +326,8 @@ error: static void bcm54xx_adjust_rxrefclk(struct phy_device *phydev) { - u32 val, orig; + u32 orig; + int val; bool clk125en = true; /* Abort if we are using an untested phy. */ |