]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Staging: hv: make *context a real pointer in struct hv_device
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 15:55:36 +0000 (08:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Oct 2010 15:55:36 +0000 (08:55 -0700)
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>
drivers/staging/hv/vmbus_api.h

index c05201228ef7082114eed699f2ba402b5880c85f..55bd00ddb61b5ecb6781da69f008144a8580935c 100644 (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;