Skip to content

Commit

Permalink
phy: Fix initialization in micrel driver.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed May 6, 2010
1 parent 50b5d6a commit 80ea76b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/micrel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 80ea76b

Please sign in to comment.