ibm_newemac: Fix typo reading TAH channel info

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Friday, December 7, 2007 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=63b6ca...
Commit:     63b6cad795e0a34e8670291943df8a6f653c1931
Parent:     4696c3c406a8b32112f8e1f70b3db1114950dcb1
Author:     Valentine Barshak <vbarshak@ru.mvista.com>
AuthorDate: Wed Dec 5 11:14:31 2007 +1100
Committer:  Jeff Garzik <jeff@garzik.org>
CommitDate: Fri Dec 7 15:09:06 2007 -0500

    ibm_newemac: Fix typo reading TAH channel info
    
    This patch fixes a typo in ibm_newemac/core.c
    (tah_port should be used instead of tah_ph)
    
    Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
    Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Jeff Garzik <jeff@garzik.org>
---
 drivers/net/ibm_newemac/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c
index 9642931..7a620e5 100644
--- a/drivers/net/ibm_newemac/core.c
+++ b/drivers/net/ibm_newemac/core.c
@@ -2442,7 +2442,7 @@ static int __devinit emac_init_config(struct emac_instance *dev)
 	if (emac_read_uint_prop(np, "tah-device", &dev->tah_ph, 0))
 		dev->tah_ph = 0;
 	if (emac_read_uint_prop(np, "tah-channel", &dev->tah_port, 0))
-		dev->tah_ph = 0;
+		dev->tah_port = 0;
 	if (emac_read_uint_prop(np, "mdio-device", &dev->mdio_ph, 0))
 		dev->mdio_ph = 0;
 	if (emac_read_uint_prop(np, "zmii-device", &dev->zmii_ph, 0))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ibm_newemac: Fix typo reading TAH channel info, Linux Kernel Mailing List..., (Fri Dec 7, 5:59 pm)