33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
From 5a3c93c4023f57befd6cf590088e6095b70a001f Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <[email protected]>
|
|
Date: Wed, 2 Jul 2025 14:14:39 +0100
|
|
Subject: [PATCH 44/84] net: ethernet: mtk_eth_soc: fix kernel-doc comment
|
|
|
|
Fix and add some missing field descriptions to kernel-doc comment of
|
|
struct mtk_eth.
|
|
|
|
Signed-off-by: Daniel Golle <[email protected]>
|
|
Reviewed-by: Andrew Lunn <[email protected]>
|
|
---
|
|
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
|
|
index 9261c0e13b59..1ad9075a9b69 100644
|
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
|
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
|
|
@@ -1243,8 +1243,9 @@ struct mtk_soc_data {
|
|
/* struct mtk_eth - This is the main datasructure for holding the state
|
|
* of the driver
|
|
* @dev: The device pointer
|
|
- * @dev: The device pointer used for dma mapping/alloc
|
|
+ * @dma_dev: The device pointer used for dma mapping/alloc
|
|
* @base: The mapped register i/o base
|
|
+ * @sram_base: The mapped SRAM base
|
|
* @page_lock: Make sure that register operations are atomic
|
|
* @tx_irq__lock: Make sure that IRQ register operations are atomic
|
|
* @rx_irq__lock: Make sure that IRQ register operations are atomic
|
|
--
|
|
2.30.2
|
|
|