aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/blkvsc_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r--drivers/staging/hv/blkvsc_drv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c
index f91fa431b7c..8dcc140a5dc 100644
--- a/drivers/staging/hv/blkvsc_drv.c
+++ b/drivers/staging/hv/blkvsc_drv.c
@@ -117,7 +117,7 @@ struct block_device_context {
117struct blkvsc_driver_context { 117struct blkvsc_driver_context {
118 /* !! These must be the first 2 fields !! */ 118 /* !! These must be the first 2 fields !! */
119 struct driver_context drv_ctx; 119 struct driver_context drv_ctx;
120 STORVSC_DRIVER_OBJECT drv_obj; 120 struct storvsc_driver_object drv_obj;
121}; 121};
122 122
123/* Static decl */ 123/* Static decl */
@@ -173,7 +173,7 @@ Desc: BlkVsc driver initialization.
173static int blkvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) 173static int blkvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init)
174{ 174{
175 int ret=0; 175 int ret=0;
176 STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_blkvsc_drv.drv_obj; 176 struct storvsc_driver_object *storvsc_drv_obj = &g_blkvsc_drv.drv_obj;
177 struct driver_context *drv_ctx=&g_blkvsc_drv.drv_ctx; 177 struct driver_context *drv_ctx=&g_blkvsc_drv.drv_ctx;
178 178
179 DPRINT_ENTER(BLKVSC_DRV); 179 DPRINT_ENTER(BLKVSC_DRV);
@@ -217,7 +217,7 @@ Desc:
217--*/ 217--*/
218static void blkvsc_drv_exit(void) 218static void blkvsc_drv_exit(void)
219{ 219{
220 STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_blkvsc_drv.drv_obj; 220 struct storvsc_driver_object *storvsc_drv_obj = &g_blkvsc_drv.drv_obj;
221 struct driver_context *drv_ctx=&g_blkvsc_drv.drv_ctx; 221 struct driver_context *drv_ctx=&g_blkvsc_drv.drv_ctx;
222 struct device *current_dev=NULL; 222 struct device *current_dev=NULL;
223 int ret; 223 int ret;
@@ -268,13 +268,13 @@ static int blkvsc_probe(struct device *device)
268 268
269 struct driver_context *driver_ctx = driver_to_driver_context(device->driver); 269 struct driver_context *driver_ctx = driver_to_driver_context(device->driver);
270 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx; 270 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx;
271 STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; 271 struct storvsc_driver_object *storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj;
272 272
273 struct device_context *device_ctx = device_to_device_context(device); 273 struct device_context *device_ctx = device_to_device_context(device);
274 struct hv_device *device_obj = &device_ctx->device_obj; 274 struct hv_device *device_obj = &device_ctx->device_obj;
275 275
276 struct block_device_context *blkdev=NULL; 276 struct block_device_context *blkdev=NULL;
277 STORVSC_DEVICE_INFO device_info; 277 struct storvsc_device_info device_info;
278 int major=0; 278 int major=0;
279 int devnum=0; 279 int devnum=0;
280 280
@@ -777,7 +777,7 @@ static int blkvsc_remove(struct device *device)
777 777
778 struct driver_context *driver_ctx = driver_to_driver_context(device->driver); 778 struct driver_context *driver_ctx = driver_to_driver_context(device->driver);
779 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx; 779 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx;
780 STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; 780 struct storvsc_driver_object *storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj;
781 781
782 struct device_context *device_ctx = device_to_device_context(device); 782 struct device_context *device_ctx = device_to_device_context(device);
783 struct hv_device *device_obj = &device_ctx->device_obj; 783 struct hv_device *device_obj = &device_ctx->device_obj;
@@ -907,7 +907,7 @@ static int blkvsc_submit_request(struct blkvsc_request *blkvsc_req, void (*reque
907 struct device_context *device_ctx=blkdev->device_ctx; 907 struct device_context *device_ctx=blkdev->device_ctx;
908 struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver); 908 struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver);
909 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx; 909 struct blkvsc_driver_context *blkvsc_drv_ctx = (struct blkvsc_driver_context*)driver_ctx;
910 STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; 910 struct storvsc_driver_object *storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj;
911 int ret =0; 911 int ret =0;
912 912
913 struct hv_storvsc_request *storvsc_req; 913 struct hv_storvsc_request *storvsc_req;