diff options
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_drv.c')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_drv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index 939e5466c75e..d143e8b72b5b 100644 --- a/drivers/net/vmxnet3/vmxnet3_drv.c +++ b/drivers/net/vmxnet3/vmxnet3_drv.c | |||
@@ -1131,7 +1131,9 @@ static int | |||
1131 | vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq, | 1131 | vmxnet3_rq_rx_complete(struct vmxnet3_rx_queue *rq, |
1132 | struct vmxnet3_adapter *adapter, int quota) | 1132 | struct vmxnet3_adapter *adapter, int quota) |
1133 | { | 1133 | { |
1134 | static u32 rxprod_reg[2] = {VMXNET3_REG_RXPROD, VMXNET3_REG_RXPROD2}; | 1134 | static const u32 rxprod_reg[2] = { |
1135 | VMXNET3_REG_RXPROD, VMXNET3_REG_RXPROD2 | ||
1136 | }; | ||
1135 | u32 num_rxd = 0; | 1137 | u32 num_rxd = 0; |
1136 | struct Vmxnet3_RxCompDesc *rcd; | 1138 | struct Vmxnet3_RxCompDesc *rcd; |
1137 | struct vmxnet3_rx_ctx *ctx = &rq->rx_ctx; | 1139 | struct vmxnet3_rx_ctx *ctx = &rq->rx_ctx; |