diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-06 14:15:59 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 15:02:01 +0400 |
commit | 80ea76bb2575c426154b8d61d324197ee3592baa (patch) | |
tree | 257713f00d4373d9a41d6d566cd3ac08fb097632 /drivers/net/phy | |
parent | 50b5d6ad63821cea324a5a7a19854d4de1a0a819 (diff) | |
download | linux-80ea76bb2575c426154b8d61d324197ee3592baa.tar.xz |
phy: Fix initialization in micrel driver.
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>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/micrel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 0cd80e4d71d9..e67691dca4ab 100644 --- 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, |