Skip to content

Commit

Permalink
net: ethernet: lantiq_etop: Fix compilation error
Browse files Browse the repository at this point in the history
This fixes the error detected when compiling the driver.

Fixes: 14d4e30 ("net: lantiq: configure the burst length in ethernet drivers")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
abajk authored and davem330 committed Nov 10, 2021
1 parent af0a511 commit 68eabc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/lantiq_etop.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ ltq_etop_hw_init(struct net_device *dev)
/* enable crc generation */
ltq_etop_w32(PPE32_CGEN, LQ_PPE32_ENET_MAC_CFG);

ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, rx_burst_len);
ltq_dma_init_port(DMA_PORT_ETOP, priv->tx_burst_len, priv->rx_burst_len);

for (i = 0; i < MAX_DMA_CHAN; i++) {
int irq = LTQ_DMA_CH0_INT + i;
Expand Down

0 comments on commit 68eabc3

Please sign in to comment.