diff options
Diffstat (limited to 'drivers/net/stmmac/enh_desc.c')
-rw-r--r-- | drivers/net/stmmac/enh_desc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/enh_desc.c b/drivers/net/stmmac/enh_desc.c index 5d1471d8f8f6..e5dfb6a30182 100644 --- a/drivers/net/stmmac/enh_desc.c +++ b/drivers/net/stmmac/enh_desc.c | |||
@@ -318,7 +318,7 @@ static int enh_desc_get_rx_frame_len(struct dma_desc *p) | |||
318 | return p->des01.erx.frame_length; | 318 | return p->des01.erx.frame_length; |
319 | } | 319 | } |
320 | 320 | ||
321 | struct stmmac_desc_ops enh_desc_ops = { | 321 | const struct stmmac_desc_ops enh_desc_ops = { |
322 | .tx_status = enh_desc_get_tx_status, | 322 | .tx_status = enh_desc_get_tx_status, |
323 | .rx_status = enh_desc_get_rx_status, | 323 | .rx_status = enh_desc_get_rx_status, |
324 | .get_tx_len = enh_desc_get_tx_len, | 324 | .get_tx_len = enh_desc_get_tx_len, |