diff options
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r-- | drivers/usb/gadget/ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 4ce3950b997f..d3891b2fc36e 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -1642,7 +1642,7 @@ static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) | |||
1642 | strlcpy(p->driver, shortname, sizeof p->driver); | 1642 | strlcpy(p->driver, shortname, sizeof p->driver); |
1643 | strlcpy(p->version, DRIVER_VERSION, sizeof p->version); | 1643 | strlcpy(p->version, DRIVER_VERSION, sizeof p->version); |
1644 | strlcpy(p->fw_version, dev->gadget->name, sizeof p->fw_version); | 1644 | strlcpy(p->fw_version, dev->gadget->name, sizeof p->fw_version); |
1645 | strlcpy (p->bus_info, dev->gadget->dev.bus_id, sizeof p->bus_info); | 1645 | strlcpy (p->bus_info, dev_name(&dev->gadget->dev), sizeof p->bus_info); |
1646 | } | 1646 | } |
1647 | 1647 | ||
1648 | static u32 eth_get_link(struct net_device *net) | 1648 | static u32 eth_get_link(struct net_device *net) |