diff options
author | Vlastimil Setka <setka@vsis.cz> | 2015-02-23 18:27:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-24 00:07:35 +0100 |
commit | fe6e4081a626d2987b73c9b15ed520b4f22d585f (patch) | |
tree | dea3dc9697c5bdae119158fdedb5c6e700229df9 /drivers/net | |
parent | net: compat: Ignore MSG_CMSG_COMPAT in compat_sys_{send, recv}msg (diff) | |
download | linux-fe6e4081a626d2987b73c9b15ed520b4f22d585f.tar.xz linux-fe6e4081a626d2987b73c9b15ed520b4f22d585f.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/altera/altera_tse_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c index 760c72c6e2ac..f3d784a3463d 100644 --- a/drivers/net/ethernet/altera/altera_tse_main.c +++ b/drivers/net/ethernet/altera/altera_tse_main.c @@ -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; |