[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1424712457-24291-1-git-send-email-vbridger@opensource.altera.com>
Date: Mon, 23 Feb 2015 11:27:37 -0600
From: Vince Bridgers <vbridger@...nsource.altera.com>
To: <netdev@...r.kernel.org>, <nios2-dev@...ts.rocketboards.org>,
<linux-kernel@...r.kernel.org>
CC: <vbridger@...era.com>, <vbridger@...nsource.altera.com>,
<setka@...s.cz>
Subject: [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree
From: Vlastimil Setka <setka@...s.cz>
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@...s.cz>
Signed-off-by: Vince Bridgers <vbridger@...nsource.altera.com>
---
drivers/net/ethernet/altera/altera_tse_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c
index a1ee261..91ad435 100644
--- a/drivers/net/ethernet/altera/altera_tse_main.c
+++ b/drivers/net/ethernet/altera/altera_tse_main.c
@@ -1407,7 +1407,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;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists