Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=68dc44af632944dff6c8b36013d32a254fe62de4
Commit:     68dc44af632944dff6c8b36013d32a254fe62de4
Parent:     1083cfe11285816fb2e2e36aad097f1c3b6db915
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 7 13:31:26 2006 -0600
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Mon Dec 11 09:31:28 2006 -0500

    [PATCH] ucc_geth: Initialize mdio_lock.
    
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/ucc_geth.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 @@ static int init_phy(struct net_device *dev)
        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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to