From: David S. Miller Date: Thu, 6 May 2010 10:15:59 +0000 (-0700) Subject: phy: Fix initialization in micrel driver. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80ea76bb2575c426154b8d61d324197ee3592baa;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git phy: Fix initialization in micrel driver. Missing name string in ks8001_driver, so we crash on register. Reported-by: Ingo Molnar Tested-by: Ingo Molnar Signed-off-by: David S. Miller --- 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,