mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree
This patch corrects a typo in the way tx_fifo_depth is read from the devicetree. This patch was submitted by Vlastimil about a week ago, and is now cleaned up and resubmitted. Signed-off-by: Vlastimil Setka <setka@vsis.cz> Signed-off-by: Vince Bridgers <vbridger@opensource.altera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d720d8cec5
commit
fe6e4081a6
1 changed files with 1 additions and 1 deletions
|
@ -1399,7 +1399,7 @@ static int altera_tse_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
if (of_property_read_u32(pdev->dev.of_node, "tx-fifo-depth",
|
||||
&priv->rx_fifo_depth)) {
|
||||
&priv->tx_fifo_depth)) {
|
||||
dev_err(&pdev->dev, "cannot obtain tx-fifo-depth\n");
|
||||
ret = -ENXIO;
|
||||
goto err_free_netdev;
|
||||
|
|
Loading…
Reference in a new issue