Staging: hv: Introduce a function to map a generic driver pointer to a pointer to...
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 26 Apr 2011 16:20:18 +0000 (09:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 22:47:27 +0000 (15:47 -0700)
commit0724e5fd77b44338fb12af35f0577bd4142903e8
treecac1138fdc51dde1b1548ea5b004c5ff59cbe589
parenta12c27c5eac8e0b1ee6988c32a29100abe1a99ef
Staging: hv: Introduce a function to map a generic driver pointer to a pointer to storvsc_driver_object

In preparation for getting rid of the priv element from struct hv_driver,
introduce a function that maps a generic struct driver pointer to struct
storvsc_driver_object.

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/storvsc_api.h