summaryrefslogtreecommitdiff
path: root/drivers/net/phy/dp83848.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-02-18 03:10:00 +0300
committerDavid S. Miller <davem@davemloft.net>2016-02-18 23:53:10 +0300
commite12a285c9beccbdbb0346cce847dcd779096be5f (patch)
treeea8847a3c92bc85113cb522fd6c940f356392bd4 /drivers/net/phy/dp83848.c
parent9e74a6dadbbf31ac18a2712048bf866c8e32aab2 (diff)
downloadlinux-e12a285c9beccbdbb0346cce847dcd779096be5f.tar.xz
net: phy: dp83848: Fix sysfs naming collision warning
Files in sysfs are created using the name from the phy_driver struct, when two names are the same we may get a duplicate filename warning, fix this. Reported-by: kernel test robot <ying.huang@linux.intel.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/dp83848.c')
-rw-r--r--drivers/net/phy/dp83848.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83848.c b/drivers/net/phy/dp83848.c
index 556904f572d6..03d54c4adc88 100644
--- a/drivers/net/phy/dp83848.c
+++ b/drivers/net/phy/dp83848.c
@@ -103,7 +103,7 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
static struct phy_driver dp83848_driver[] = {
DP83848_PHY_DRIVER(TI_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
- DP83848_PHY_DRIVER(NS_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
+ DP83848_PHY_DRIVER(NS_DP83848C_PHY_ID, "NS DP83848C 10/100 Mbps PHY"),
DP83848_PHY_DRIVER(TLK10X_PHY_ID, "TI TLK10X 10/100 Mbps PHY"),
};
module_phy_driver(dp83848_driver);