Skip to content

Commit

Permalink
Staging: hv: Move the contents of the file version_info.h to hyperv.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 7effffb commit f7c6dfd
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 55 deletions.
1 change: 0 additions & 1 deletion drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/hv_kvp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/hv_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
21 changes: 21 additions & 0 deletions drivers/staging/hv/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 0 additions & 1 deletion drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
48 changes: 0 additions & 48 deletions drivers/staging/hv/version_info.h

This file was deleted.

1 change: 0 additions & 1 deletion drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7c6dfd

Please sign in to comment.