aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/include/VmbusApi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hv/include/VmbusApi.h')
-rw-r--r--drivers/staging/hv/include/VmbusApi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/hv/include/VmbusApi.h b/drivers/staging/hv/include/VmbusApi.h
index 442a2125470..e5a733790d0 100644
--- a/drivers/staging/hv/include/VmbusApi.h
+++ b/drivers/staging/hv/include/VmbusApi.h
@@ -76,7 +76,7 @@ typedef int (*PFN_ON_ISR)(struct hv_driver *drv);
76typedef void (*PFN_ON_DPC)(struct hv_driver *drv); 76typedef void (*PFN_ON_DPC)(struct hv_driver *drv);
77typedef void (*PFN_GET_CHANNEL_OFFERS)(void); 77typedef void (*PFN_GET_CHANNEL_OFFERS)(void);
78 78
79typedef struct hv_device *(*PFN_ON_CHILDDEVICE_CREATE)(GUID DeviceType, GUID DeviceInstance, void *Context); 79typedef struct hv_device *(*PFN_ON_CHILDDEVICE_CREATE)(struct hv_guid DeviceType, struct hv_guid DeviceInstance, void *Context);
80typedef void (*PFN_ON_CHILDDEVICE_DESTROY)(struct hv_device *Device); 80typedef void (*PFN_ON_CHILDDEVICE_DESTROY)(struct hv_device *Device);
81typedef int (*PFN_ON_CHILDDEVICE_ADD)(struct hv_device *RootDevice, struct hv_device *ChildDevice); 81typedef int (*PFN_ON_CHILDDEVICE_ADD)(struct hv_device *RootDevice, struct hv_device *ChildDevice);
82typedef void (*PFN_ON_CHILDDEVICE_REMOVE)(struct hv_device *Device); 82typedef void (*PFN_ON_CHILDDEVICE_REMOVE)(struct hv_device *Device);
@@ -165,8 +165,8 @@ typedef struct _PORT_INFO {
165typedef struct _DEVICE_INFO { 165typedef struct _DEVICE_INFO {
166 u32 ChannelId; 166 u32 ChannelId;
167 u32 ChannelState; 167 u32 ChannelState;
168 GUID ChannelType; 168 struct hv_guid ChannelType;
169 GUID ChannelInstance; 169 struct hv_guid ChannelInstance;
170 170
171 u32 MonitorId; 171 u32 MonitorId;
172 u32 ServerMonitorPending; 172 u32 ServerMonitorPending;
@@ -200,7 +200,7 @@ typedef void (*VMBUS_GET_CHANNEL_INTERFACE)(VMBUS_CHANNEL_INTERFACE *Interface);
200/* Base driver object */ 200/* Base driver object */
201struct hv_driver { 201struct hv_driver {
202 const char* name; 202 const char* name;
203 GUID deviceType; /* the device type supported by this driver */ 203 struct hv_guid deviceType; /* the device type supported by this driver */
204 204
205 PFN_ON_DEVICEADD OnDeviceAdd; 205 PFN_ON_DEVICEADD OnDeviceAdd;
206 PFN_ON_DEVICEREMOVE OnDeviceRemove; 206 PFN_ON_DEVICEREMOVE OnDeviceRemove;
@@ -215,8 +215,8 @@ struct hv_driver {
215struct hv_device { 215struct hv_device {
216 struct hv_driver *Driver; /* the driver for this device */ 216 struct hv_driver *Driver; /* the driver for this device */
217 char name[64]; 217 char name[64];
218 GUID deviceType; /* the device type id of this device */ 218 struct hv_guid deviceType; /* the device type id of this device */
219 GUID deviceInstance; /* the device instance id of this device */ 219 struct hv_guid deviceInstance; /* the device instance id of this device */
220 void* context; 220 void* context;
221 void* Extension; /* Device extension; */ 221 void* Extension; /* Device extension; */
222}; 222};