diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2018-07-13 07:50:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-16 16:42:44 -0400 |
commit | 014dd7684e75730fa8d25bc7583534db141e5ded (patch) | |
tree | 5aeac834d507633b1726e9a4d4253e0d8ef0f166 | |
parent | 56c266dcfa0c3290d73b1fd5dc736aaa7d23e3ef (diff) |
net: ethernet: stmmac: fix documentation warning
This patch remove the following documentation warning
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:103: warning: Excess function parameter 'priv' description in 'stmmac_axi_setup'
It was introduced in commit afea03656add7 ("stmmac: rework DMA bus setting and introduce new platform AXI structure")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 6d141f3931eb..72da77b94ecd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | |||
@@ -94,7 +94,6 @@ static int dwmac1000_validate_ucast_entries(int ucast_entries) | |||
94 | /** | 94 | /** |
95 | * stmmac_axi_setup - parse DT parameters for programming the AXI register | 95 | * stmmac_axi_setup - parse DT parameters for programming the AXI register |
96 | * @pdev: platform device | 96 | * @pdev: platform device |
97 | * @priv: driver private struct. | ||
98 | * Description: | 97 | * Description: |
99 | * if required, from device-tree the AXI internal register can be tuned | 98 | * if required, from device-tree the AXI internal register can be tuned |
100 | * by using platform parameters. | 99 | * by using platform parameters. |