diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-09-18 12:29:07 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-19 18:27:55 +0200 |
commit | bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20 (patch) | |
tree | f46eb064db554ca2b7e20da591039c45dc016589 /drivers/net/ethernet/mediatek | |
parent | 7d5a72733b211e020455cd45d63b85352b72c678 (diff) | |
download | linux-stable-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.tar.gz linux-stable-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.tar.bz2 linux-stable-bafd764a8baa87e19e6beeaa58eb85fcbbdd6b20.zip |
net: ethernet: mtk_wed: rename mtk_rxbm_desc in mtk_wed_bm_desc
Rename mtk_rxbm_desc structure in mtk_wed_bm_desc since it will be used
even on tx side by MT7988 SoC.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/mediatek')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_wed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_wed.c b/drivers/net/ethernet/mediatek/mtk_wed.c index 750326b298dc..f166d4f0b793 100644 --- a/drivers/net/ethernet/mediatek/mtk_wed.c +++ b/drivers/net/ethernet/mediatek/mtk_wed.c @@ -422,7 +422,7 @@ free_pagelist: static int mtk_wed_rx_buffer_alloc(struct mtk_wed_device *dev) { - struct mtk_rxbm_desc *desc; + struct mtk_wed_bm_desc *desc; dma_addr_t desc_phys; dev->rx_buf_ring.size = dev->wlan.rx_nbuf; @@ -442,7 +442,7 @@ mtk_wed_rx_buffer_alloc(struct mtk_wed_device *dev) static void mtk_wed_free_rx_buffer(struct mtk_wed_device *dev) { - struct mtk_rxbm_desc *desc = dev->rx_buf_ring.desc; + struct mtk_wed_bm_desc *desc = dev->rx_buf_ring.desc; if (!desc) return; |