From: Valentine Barshak Date: Wed, 5 Dec 2007 00:14:31 +0000 (+1100) Subject: ibm_newemac: Fix typo reading TAH channel info X-Git-Tag: v2.6.24-rc5~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=63b6cad795e0a34e8670291943df8a6f653c1931;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index 9642931c66e..7a620e5aaf3 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))