diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 11:55:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 11:55:36 -0400 |
commit | 7053a27a4c7fb3cf02944a7077c88a23b226c5f0 (patch) | |
tree | 8a28ba73dc931817722e79f11a8b15e1c5d74494 /drivers/staging | |
parent | d068cb4f6f469627af0a5bd45d3a21ed0df81368 (diff) |
Staging: hv: make *context a real pointer in struct hv_device
This is really the struct vmbus_channel for the device, not a void
pointer, so use the real structure to ensure type safety everywhere.
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/hv/vmbus_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index c05201228ef7..55bd00ddb61b 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h | |||
@@ -152,7 +152,7 @@ struct hv_device { | |||
152 | /* the device instance id of this device */ | 152 | /* the device instance id of this device */ |
153 | struct hv_guid deviceInstance; | 153 | struct hv_guid deviceInstance; |
154 | 154 | ||
155 | void *context; | 155 | struct vmbus_channel *context; |
156 | 156 | ||
157 | /* Device extension; */ | 157 | /* Device extension; */ |
158 | void *Extension; | 158 | void *Extension; |