Staging: hv: Add a function to map a hv_driver pointer to storvsc driver
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 28 Mar 2011 16:33:29 +0000 (09:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:55:05 +0000 (21:55 -0700)
commitced01b0df71fb184744c473b934f9ea70454b750
tree76ef4b53fe19f1f3636580d96599c5aa52da4980
parent1e05d88e9374036cd2d6d0f7e840a790cf4bb43a
Staging: hv: Add a function to map a hv_driver pointer to storvsc driver

Get rid of the need for struct hv_device to be the first
element of struct host_device_context.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/blkvsc_drv.c
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c