diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 16:05:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-21 16:05:27 (GMT) |
commit | cae5b843c82d76e643d6822597a9ea2866e9b30d (patch) | |
tree | 4097bb390043c9345956cdef94c08b91b6609f6f /drivers/staging/hv/vmbus.c | |
parent | 7053a27a4c7fb3cf02944a7077c88a23b226c5f0 (diff) | |
download | linux-fsl-qoriq-cae5b843c82d76e643d6822597a9ea2866e9b30d.tar.xz |
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.c')
-rw-r--r-- | drivers/staging/hv/vmbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index ffdbd30..d449daf 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c @@ -65,12 +65,12 @@ static void VmbusGetChannelOffers(void) */ struct hv_device *VmbusChildDeviceCreate(struct hv_guid *DeviceType, struct hv_guid *DeviceInstance, - void *Context) + struct vmbus_channel *channel) { struct vmbus_driver *vmbusDriver = (struct vmbus_driver *)gDriver; return vmbusDriver->OnChildDeviceCreate(DeviceType, DeviceInstance, - Context); + channel); } /* |