提交 fe6e4081 编写于 作者: V Vlastimil Setka 提交者: David S. Miller

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: NVlastimil Setka <setka@vsis.cz>
Signed-off-by: NVince Bridgers <vbridger@opensource.altera.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d720d8ce
...@@ -1399,7 +1399,7 @@ static int altera_tse_probe(struct platform_device *pdev) ...@@ -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", 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"); dev_err(&pdev->dev, "cannot obtain tx-fifo-depth\n");
ret = -ENXIO; ret = -ENXIO;
goto err_free_netdev; goto err_free_netdev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册