diff options
Diffstat (limited to 'drivers/staging/hv/include/VmbusApi.h')
-rw-r--r-- | drivers/staging/hv/include/VmbusApi.h | 12 |
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); | |||
76 | typedef void (*PFN_ON_DPC)(struct hv_driver *drv); | 76 | typedef void (*PFN_ON_DPC)(struct hv_driver *drv); |
77 | typedef void (*PFN_GET_CHANNEL_OFFERS)(void); | 77 | typedef void (*PFN_GET_CHANNEL_OFFERS)(void); |
78 | 78 | ||
79 | typedef struct hv_device *(*PFN_ON_CHILDDEVICE_CREATE)(GUID DeviceType, GUID DeviceInstance, void *Context); | 79 | typedef struct hv_device *(*PFN_ON_CHILDDEVICE_CREATE)(struct hv_guid DeviceType, struct hv_guid DeviceInstance, void *Context); |
80 | typedef void (*PFN_ON_CHILDDEVICE_DESTROY)(struct hv_device *Device); | 80 | typedef void (*PFN_ON_CHILDDEVICE_DESTROY)(struct hv_device *Device); |
81 | typedef int (*PFN_ON_CHILDDEVICE_ADD)(struct hv_device *RootDevice, struct hv_device *ChildDevice); | 81 | typedef int (*PFN_ON_CHILDDEVICE_ADD)(struct hv_device *RootDevice, struct hv_device *ChildDevice); |
82 | typedef void (*PFN_ON_CHILDDEVICE_REMOVE)(struct hv_device *Device); | 82 | typedef void (*PFN_ON_CHILDDEVICE_REMOVE)(struct hv_device *Device); |
@@ -165,8 +165,8 @@ typedef struct _PORT_INFO { | |||
165 | typedef struct _DEVICE_INFO { | 165 | typedef 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 */ |
201 | struct hv_driver { | 201 | struct 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 { | |||
215 | struct hv_device { | 215 | struct 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 | }; |