diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-10 16:55:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-10 16:55:14 -0500 |
commit | fb28ad35906af2f042c94e2f9c0f898ef9acfa37 (patch) | |
tree | ee3d535ab38d680b424a857406789f8c28bf5266 /drivers/net/enc28j60.c | |
parent | 23779897546c1effb546ff89b89803d9d955d517 (diff) |
net: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enc28j60.c')
-rw-r--r-- | drivers/net/enc28j60.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index d186a52cdb62..32c19790d013 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c | |||
@@ -1448,7 +1448,7 @@ enc28j60_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | |||
1448 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); | 1448 | strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); |
1449 | strlcpy(info->version, DRV_VERSION, sizeof(info->version)); | 1449 | strlcpy(info->version, DRV_VERSION, sizeof(info->version)); |
1450 | strlcpy(info->bus_info, | 1450 | strlcpy(info->bus_info, |
1451 | dev->dev.parent->bus_id, sizeof(info->bus_info)); | 1451 | dev_name(dev->dev.parent), sizeof(info->bus_info)); |
1452 | } | 1452 | } |
1453 | 1453 | ||
1454 | static int | 1454 | static int |