aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2013-05-29 05:29:07 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-01 23:34:30 -0400
commitcfc25993e81f3fa68481d062be634d33184d5eae (patch)
tree659ced6211719358eccf0c47021b8b538d73434f /drivers/hv
parent9c5891bd4342349a200676d33f742dd1b864822c (diff)
Drivers: hv: remove HV_DRV_VERSION
Remove HV_DRV_VERSION, it has no meaning for upstream drivers. Initially it was supposed to show the "Linux Integration Services" version, now it is not in sync anymore with the out-of-tree drivers available from the MSFT website. The only place where a version string is still required is the KVP command "IntegrationServicesVersion" which is handled by tools/hv/hv_kvp_daemon.c. To satisfy such KVP request from the host pass the current string to the daemon during KVP userland registration. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hv_balloon.c1
-rw-r--r--drivers/hv/hv_kvp.c2
-rw-r--r--drivers/hv/hv_util.c1
-rw-r--r--drivers/hv/vmbus_drv.c1
4 files changed, 2 insertions, 3 deletions
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index 2d094cfdb1e0..7e17a5495e02 100644
--- a/drivers/hv/hv_balloon.c
+++ b/drivers/hv/hv_balloon.c
@@ -1526,5 +1526,4 @@ static int __init init_balloon_drv(void)
1526module_init(init_balloon_drv); 1526module_init(init_balloon_drv);
1527 1527
1528MODULE_DESCRIPTION("Hyper-V Balloon"); 1528MODULE_DESCRIPTION("Hyper-V Balloon");
1529MODULE_VERSION(HV_DRV_VERSION);
1530MODULE_LICENSE("GPL"); 1529MODULE_LICENSE("GPL");
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index 53127209a404..28b03325b872 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -86,7 +86,9 @@ static u8 *recv_buffer;
86/* 86/*
87 * Register the kernel component with the user-level daemon. 87 * Register the kernel component with the user-level daemon.
88 * As part of this registration, pass the LIC version number. 88 * As part of this registration, pass the LIC version number.
89 * This number has no meaning, it satisfies the registration protocol.
89 */ 90 */
91#define HV_DRV_VERSION "3.1"
90 92
91static void 93static void
92kvp_register(int reg_value) 94kvp_register(int reg_value)
diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c
index c16164d4a28b..cb82233541b1 100644
--- a/drivers/hv/hv_util.c
+++ b/drivers/hv/hv_util.c
@@ -395,5 +395,4 @@ module_init(init_hyperv_utils);
395module_exit(exit_hyperv_utils); 395module_exit(exit_hyperv_utils);
396 396
397MODULE_DESCRIPTION("Hyper-V Utilities"); 397MODULE_DESCRIPTION("Hyper-V Utilities");
398MODULE_VERSION(HV_DRV_VERSION);
399MODULE_LICENSE("GPL"); 398MODULE_LICENSE("GPL");
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index e8e071fc1d6d..f9fe46f52cfa 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -816,7 +816,6 @@ static void __exit vmbus_exit(void)
816 816
817 817
818MODULE_LICENSE("GPL"); 818MODULE_LICENSE("GPL");
819MODULE_VERSION(HV_DRV_VERSION);
820 819
821subsys_initcall(hv_acpi_init); 820subsys_initcall(hv_acpi_init);
822module_exit(vmbus_exit); 821module_exit(vmbus_exit);