aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r--drivers/net/hyperv/netvsc_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 0ae7a1a6aeb0..217dfedbba20 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -310,7 +310,7 @@ int netvsc_recv_callback(struct hv_device *device_obj,
310static void netvsc_get_drvinfo(struct net_device *net, 310static void netvsc_get_drvinfo(struct net_device *net,
311 struct ethtool_drvinfo *info) 311 struct ethtool_drvinfo *info)
312{ 312{
313 strcpy(info->driver, "hv_netvsc"); 313 strcpy(info->driver, KBUILD_MODNAME);
314 strcpy(info->version, HV_DRV_VERSION); 314 strcpy(info->version, HV_DRV_VERSION);
315 strcpy(info->fw_version, "N/A"); 315 strcpy(info->fw_version, "N/A");
316} 316}
@@ -482,7 +482,7 @@ MODULE_DEVICE_TABLE(vmbus, id_table);
482 482
483/* The one and only one */ 483/* The one and only one */
484static struct hv_driver netvsc_drv = { 484static struct hv_driver netvsc_drv = {
485 .name = "netvsc", 485 .name = KBUILD_MODNAME,
486 .id_table = id_table, 486 .id_table = id_table,
487 .probe = netvsc_probe, 487 .probe = netvsc_probe,
488 .remove = netvsc_remove, 488 .remove = netvsc_remove,