projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b5d6a
)
phy: Fix initialization in micrel driver.
author
David S. Miller
<davem@davemloft.net>
Thu, 6 May 2010 10:15:59 +0000
(
03:15
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 6 May 2010 11:02:01 +0000
(
04:02
-0700)
Missing name string in ks8001_driver, so we crash on register.
Reported-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/micrel.c
b/drivers/net/phy/micrel.c
index 0cd80e4d71d9fba60d73f71cb797cd615c98273b..e67691dca4abae73c501a9d0050a4e1b90903c14 100644
(file)
--- a/
drivers/net/phy/micrel.c
+++ b/
drivers/net/phy/micrel.c
@@
-32,6
+32,7
@@
static int kszphy_config_init(struct phy_device *phydev)
static struct phy_driver ks8001_driver = {
.phy_id = PHY_ID_KS8001,
+ .name = "Micrel KS8001",
.phy_id_mask = 0x00fffff0,
.features = PHY_BASIC_FEATURES,
.flags = PHY_POLL,