diff options
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 50815fb963fe..c149e48a0f57 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -1191,7 +1191,7 @@ static void genesis_init(struct skge_hw *hw) | |||
1191 | 1191 | ||
1192 | static void genesis_reset(struct skge_hw *hw, int port) | 1192 | static void genesis_reset(struct skge_hw *hw, int port) |
1193 | { | 1193 | { |
1194 | const u8 zero[8] = { 0 }; | 1194 | static const u8 zero[8] = { 0 }; |
1195 | u32 reg; | 1195 | u32 reg; |
1196 | 1196 | ||
1197 | skge_write8(hw, SK_REG(port, GMAC_IRQ_MSK), 0); | 1197 | skge_write8(hw, SK_REG(port, GMAC_IRQ_MSK), 0); |
@@ -1557,7 +1557,7 @@ static void genesis_mac_init(struct skge_hw *hw, int port) | |||
1557 | int jumbo = hw->dev[port]->mtu > ETH_DATA_LEN; | 1557 | int jumbo = hw->dev[port]->mtu > ETH_DATA_LEN; |
1558 | int i; | 1558 | int i; |
1559 | u32 r; | 1559 | u32 r; |
1560 | const u8 zero[6] = { 0 }; | 1560 | static const u8 zero[6] = { 0 }; |
1561 | 1561 | ||
1562 | for (i = 0; i < 10; i++) { | 1562 | for (i = 0; i < 10; i++) { |
1563 | skge_write16(hw, SK_REG(port, TX_MFF_CTRL1), | 1563 | skge_write16(hw, SK_REG(port, TX_MFF_CTRL1), |