From: Greg Kroah-Hartman Date: Thu, 21 Oct 2010 15:55:36 +0000 (-0700) Subject: Staging: hv: make *context a real pointer in struct hv_device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7053a27a4c7fb3cf02944a7077c88a23b226c5f0;p=mv-sheeva.git 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 Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index c05201228ef..55bd00ddb61 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -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;