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>
This commit is contained in:
Greg Kroah-Hartman 2010-10-21 08:55:36 -07:00
parent d068cb4f6f
commit 7053a27a4c

View File

@ -152,7 +152,7 @@ struct hv_device {
/* the device instance id of this device */
struct hv_guid deviceInstance;
void *context;
struct vmbus_channel *context;
/* Device extension; */
void *Extension;