phy: Fix initialization in micrel driver.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, May 11, 2010 - 10:59 am

Gitweb:     http://git.kernel.org/linus/80ea76bb2575c426154b8d61d324197ee3592baa
Commit:     80ea76bb2575c426154b8d61d324197ee3592baa
Parent:     50b5d6ad63821cea324a5a7a19854d4de1a0a819
Author:     David S. Miller <davem@davemloft.net>
AuthorDate: Thu May 6 03:15:59 2010 -0700
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Thu May 6 04:02:01 2010 -0700

    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>
---
 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 0cd80e4..e67691d 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,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
phy: Fix initialization in micrel driver., Linux Kernel Mailing ..., (Tue May 11, 10:59 am)