Commit 8ff3e6fc authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: Include asm/hyperv.h in hyperv.h

As the entries in hv_api.h are already in asm/hyperv.h, let's use that
file instead and delete these.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f9aea9fd
This diff is collapsed.
......@@ -25,6 +25,16 @@
#ifndef _HYPERV_H
#define _HYPERV_H
#include <linux/scatterlist.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/device.h>
#include <asm/hyperv.h>
struct hv_guid {
unsigned char data[16];
};
......@@ -319,12 +329,6 @@ enum vmbus_packet_type {
#define VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED 1
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include "hyperv.h"
/* Version 1 messages */
enum vmbus_channel_message_type {
CHANNELMSG_INVALID = 0,
......@@ -759,9 +763,6 @@ extern unsigned int vmbus_loglevel;
#include <linux/device.h>
#include <linux/workqueue.h>
struct hv_driver;
struct hv_device;
......@@ -822,8 +823,6 @@ struct hv_device {
void *ext;
};
#include <linux/device.h>
static inline struct hv_device *device_to_hv_device(struct device *d)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment