Staging: hv: Move the contents of the file version_info.h to hyperv.h
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 13 May 2011 02:34:18 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 May 2011 18:46:14 +0000 (11:46 -0700)
Move the contents of the file version_info.h to hyperv.h.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/hv_kvp.c
drivers/staging/hv/hv_mouse.c
drivers/staging/hv/hv_util.c
drivers/staging/hv/hyperv.h
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/storvsc_drv.c
drivers/staging/hv/version_info.h [deleted file]
drivers/staging/hv/vmbus_drv.c

index 0e5206ab5d094930d3f30ad012057d5a4d213f67..039bc633d223209eec7c589b47748f82f279bd21 100644 (file)
@@ -35,7 +35,6 @@
 #include "hyperv.h"
 #include "hv_api.h"
 #include "logging.h"
-#include "version_info.h"
 #include "vmbus.h"
 #include "storvsc_api.h"
 
index 04875c2f0933ed2c118c208488ae039d811f5a66..8e762fb884c4a5e3b9587bfb102912c02f6397bb 100644 (file)
@@ -33,7 +33,6 @@
 #include "vmbus.h"
 #include "vmbus_packet_format.h"
 #include "vmbus_channel_interface.h"
-#include "version_info.h"
 #include "channel.h"
 #include "vmbus_private.h"
 #include "vmbus_api.h"
index 78db75d127be53a92b17a5e79267997f5493a519..d8f82d531e17bf58690e3657c23be45b009c60d3 100644 (file)
@@ -29,7 +29,6 @@
 #include "hyperv.h"
 #include "hv_api.h"
 #include "logging.h"
-#include "version_info.h"
 #include "vmbus.h"
 #include "vmbus_api.h"
 #include "channel.h"
index 672a5961d63bea0e859a36a80e67323d69419529..534f052cbdc065874810ce6f0243419faa402516 100644 (file)
@@ -35,7 +35,6 @@
 #include "vmbus.h"
 #include "vmbus_packet_format.h"
 #include "vmbus_channel_interface.h"
-#include "version_info.h"
 #include "channel.h"
 #include "vmbus_private.h"
 #include "vmbus_api.h"
index 0baa868e4d32448e03651b6d2556e012e337a4c7..2cd1b36b05644e372a1faec4600db3bbf4126663 100644 (file)
@@ -101,4 +101,25 @@ struct hv_ring_buffer_debug_info {
        u32 bytes_avail_towrite;
 };
 
+/*
+ * We use the same version numbering for all Hyper-V modules.
+ *
+ * Definition of versioning is as follows;
+ *
+ *     Major Number    Changes for these scenarios;
+ *                     1.      When a new version of Windows Hyper-V
+ *                             is released.
+ *                     2.      A Major change has occurred in the
+ *                             Linux IC's.
+ *                     (For example the merge for the first time
+ *                     into the kernel) Every time the Major Number
+ *                     changes, the Revision number is reset to 0.
+ *     Minor Number    Changes when new functionality is added
+ *                     to the Linux IC's that is not a bug fix.
+ *
+ * 3.1 - Added completed hv_utils driver. Shutdown/Heartbeat/Timesync
+ */
+#define HV_DRV_VERSION           "3.1"
+
+
 #endif /* _HYPERV_H */
index 93c9ee1c6059889c239a6e181f6ee9c86d4bed48..3b04cfaa2e5eb8123d0ecee0aea01270acb0f9aa 100644 (file)
@@ -42,7 +42,6 @@
 #include "hyperv.h"
 #include "hv_api.h"
 #include "logging.h"
-#include "version_info.h"
 #include "vmbus.h"
 #include "netvsc_api.h"
 
index c0633e9eceac637392e8cd9918b6746de7af169d..a9344d9481ba6a41bc19e97f3d9a0f131276ebcf 100644 (file)
@@ -36,7 +36,6 @@
 #include "hyperv.h"
 #include "hv_api.h"
 #include "logging.h"
-#include "version_info.h"
 #include "vmbus.h"
 #include "storvsc_api.h"
 #include "vstorage.h"
diff --git a/drivers/staging/hv/version_info.h b/drivers/staging/hv/version_info.h
deleted file mode 100644 (file)
index 35178f2..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- *
- * Copyright (c) 2009, Microsoft Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place - Suite 330, Boston, MA 02111-1307 USA.
- *
- * Authors:
- *   Haiyang Zhang <haiyangz@microsoft.com>
- *   Hank Janssen  <hjanssen@microsoft.com>
- *
- */
-
-#ifndef __HV_VERSION_INFO
-#define __HV_VERSION_INFO
-
-/*
- * We use the same version numbering for all Hyper-V modules.
- *
- * Definition of versioning is as follows;
- *
- *     Major Number    Changes for these scenarios;
- *                     1.      When a new version of Windows Hyper-V
- *                             is released.
- *                     2.      A Major change has occurred in the
- *                             Linux IC's.
- *                     (For example the merge for the first time
- *                     into the kernel) Every time the Major Number
- *                     changes, the Revision number is reset to 0.
- *     Minor Number    Changes when new functionality is added
- *                     to the Linux IC's that is not a bug fix.
- *
- * 3.1 - Added completed hv_utils driver. Shutdown/Heartbeat/Timesync
- */
-#define HV_DRV_VERSION           "3.1"
-
-
-#endif
index 2b2ada7f33869430f5edb94a7134b7bebe4bf556..7debaa74ff600f00424546ce2d1a08f98692f301 100644 (file)
@@ -36,7 +36,6 @@
 #include <linux/completion.h>
 
 #include "hyperv.h"
-#include "version_info.h"
 #include "hv_api.h"
 #include "logging.h"
 #include "vmbus.h"