From cae5b843c82d76e643d6822597a9ea2866e9b30d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 21 Oct 2010 09:05:27 -0700 Subject: Staging: hv: rename context to channel in struct hv_device As it really is a channel, not a "context" name it so. This also entailed making a few more functions typesafe as they were sending a struct vmbus_channel pointer as a void pointer. There are still a few more that need to be converted (the osd callbacks are one), but this is good for now. Cc: Haiyang Zhang Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/vmbus_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/hv/vmbus_private.h') diff --git a/drivers/staging/hv/vmbus_private.h b/drivers/staging/hv/vmbus_private.h index 7bdb29ac895..09eaec964b3 100644 --- a/drivers/staging/hv/vmbus_private.h +++ b/drivers/staging/hv/vmbus_private.h @@ -104,7 +104,7 @@ extern struct VMBUS_CONNECTION gVmbusConnection; struct hv_device *VmbusChildDeviceCreate(struct hv_guid *deviceType, struct hv_guid *deviceInstance, - void *context); + struct vmbus_channel *channel); int VmbusChildDeviceAdd(struct hv_device *Device); -- cgit v1.2.3