projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1083cfe
)
[PATCH] ucc_geth: Initialize mdio_lock.
author
Scott Wood
<scottwood@freescale.com>
Thu, 7 Dec 2006 19:31:26 +0000
(13:31 -0600)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 11 Dec 2006 14:31:28 +0000
(09:31 -0500)
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ucc_geth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ucc_geth.c
b/drivers/net/ucc_geth.c
index 62d979b0f97572323dff24de8cee10e370ba8508..8243150f5b05ec6572cc8cfce779e7674a0b6ef0 100644
(file)
--- 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);