Skip to content

Commit

Permalink
altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vlastimil Setka authored and David S. Miller committed Feb 23, 2015
1 parent d720d8c commit fe6e408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/altera/altera_tse_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe6e408

Please sign in to comment.