staging: hv: Convert vmbus driver interface function pointer table to constant
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 8 Sep 2010 20:29:45 +0000 (20:29 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Sep 2010 23:27:12 +0000 (16:27 -0700)
commit9e795a5232e1888d46e22e05677d280a1056ceea
tree72ef59bde440e15a514158513f35fdbdc389bfab
parent5fee254098c11a52ce04e1efdc8c090caf592bfd
staging: hv: Convert vmbus driver interface function pointer table to constant

Convert vmbus driver interface function pointer table to constant
The vmbus interface functions are assigned to a constant - vmbus_ops.

Because the vmbus interface function pointer table is converted to a
constant variable -- vmbus_ops, the function GetChannelInterface(),
VmbusGetChannelInterface() and pointer GetChannelInterface are no longer
in use. The deprecated function's work is done by the initialization of
the newly added constant variable vmbus_ops.

I created the new constant variable vmbus_ops and removed the deprecated
function pointer GetChannelInterface in one patch.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/TODO
drivers/staging/hv/channel_interface.c
drivers/staging/hv/channel_interface.h
drivers/staging/hv/vmbus.c
drivers/staging/hv/vmbus_api.h
drivers/staging/hv/vmbus_drv.c