commit | 68dc44af632944dff6c8b36013d32a254fe62de4 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Thu Dec 07 13:31:26 2006 -0600 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Dec 11 09:31:28 2006 -0500 |
tree | e765bf7f488e6c2eb8f1dbcf9b8707df40b1a44c | |
parent | 1083cfe11285816fb2e2e36aad097f1c3b6db915 [diff] [blame] |
[PATCH] ucc_geth: Initialize mdio_lock. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 62d979b..8243150 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c
@@ -1852,6 +1852,8 @@ mii_info->mdio_read = &read_phy_reg; mii_info->mdio_write = &write_phy_reg; + spin_lock_init(&mii_info->mdio_lock); + ugeth->mii_info = mii_info; spin_lock_irq(&ugeth->lock);