summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/vmbus_private.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2010-10-21 18:05:27 +0200
committerGreg Kroah-Hartman2010-10-21 18:05:27 +0200
commitcae5b843c82d76e643d6822597a9ea2866e9b30d (patch)
tree4097bb390043c9345956cdef94c08b91b6609f6f /drivers/staging/hv/vmbus_private.h
parentStaging: hv: make *context a real pointer in struct hv_device (diff)
downloadkernel-qcow2-linux-cae5b843c82d76e643d6822597a9ea2866e9b30d.tar.gz
kernel-qcow2-linux-cae5b843c82d76e643d6822597a9ea2866e9b30d.tar.xz
kernel-qcow2-linux-cae5b843c82d76e643d6822597a9ea2866e9b30d.zip
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 <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/vmbus_private.h')
-rw-r--r--drivers/staging/hv/vmbus_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/vmbus_private.h b/drivers/staging/hv/vmbus_private.h
index 7bdb29ac8952..09eaec964b30 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);