Skip to content

Commit

Permalink
Staging: hv: Include the newly created header file in all of the rele…
Browse files Browse the repository at this point in the history
…vant hyperv files

Include the newly created header file in all of the relevant hyperv files.

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 5c47340 commit 3f335ea
Show file tree
Hide file tree
Showing 17 changed files with 37 additions and 5 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_dbg.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/module.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/channel_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <linux/list.h>
#include <linux/module.h>
#include <linux/completion.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/hv.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "vmbus_private.h"
Expand Down
5 changes: 0 additions & 5 deletions drivers/staging/hv/hv_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
#ifndef __HV_API_H
#define __HV_API_H

struct hv_guid {
unsigned char data[16];
};



/* Status codes for hypervisor operations. */

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/hv/hv_kvp.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/connector.h>
#include <linux/workqueue.h>

#include "hyperv.h"
#include "logging.h"
#include "hv_api.h"
#include "vmbus.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/dmi.h>
#include <linux/delay.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/hv/hv_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/dmi.h>
#include <linux/pci.h>

#include "hyperv.h"
#include "logging.h"
#include "hv_api.h"
#include "vmbus.h"
Expand Down
10 changes: 10 additions & 0 deletions drivers/staging/hv/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,13 @@
* K. Y. Srinivasan <kys@microsoft.com>
*
*/

#ifndef _HYPERV_H
#define _HYPERV_H

struct hv_guid {
unsigned char data[16];
};


#endif /* _HYPERV_H */
2 changes: 2 additions & 0 deletions drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/slab.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "netvsc.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#include <net/route.h>
#include <net/sock.h>
#include <net/pkt_sched.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

#include <linux/kernel.h>
#include <linux/mm.h>

#include "hyperv.h"
#include "logging.h"
#include "ring_buffer.h"

Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <linux/io.h>
#include <linux/if_ether.h>
#include <linux/netdevice.h>

#include "hyperv.h"
#include "logging.h"
#include "hv_api.h"
#include "netvsc_api.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/delay.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "storvsc_api.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <scsi/scsi_eh.h>
#include <scsi/scsi_devinfo.h>
#include <scsi/scsi_dbg.h>

#include "hyperv.h"
#include "hv_api.h"
#include "logging.h"
#include "version_info.h"
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>
#include <linux/completion.h>

#include "hyperv.h"
#include "version_info.h"
#include "hv_api.h"
#include "logging.h"
Expand Down

0 comments on commit 3f335ea

Please sign in to comment.