diff options
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 43af61438449..c95614131980 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c | |||
@@ -1659,7 +1659,7 @@ smc911x_ethtool_getdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | |||
1659 | { | 1659 | { |
1660 | strncpy(info->driver, CARDNAME, sizeof(info->driver)); | 1660 | strncpy(info->driver, CARDNAME, sizeof(info->driver)); |
1661 | strncpy(info->version, version, sizeof(info->version)); | 1661 | strncpy(info->version, version, sizeof(info->version)); |
1662 | strncpy(info->bus_info, dev->class_dev.dev->bus_id, sizeof(info->bus_info)); | 1662 | strncpy(info->bus_info, dev->dev.parent->bus_id, sizeof(info->bus_info)); |
1663 | } | 1663 | } |
1664 | 1664 | ||
1665 | static int smc911x_ethtool_nwayreset(struct net_device *dev) | 1665 | static int smc911x_ethtool_nwayreset(struct net_device *dev) |