diff options
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index f1efc3e..d595c3b 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -263,7 +263,7 @@ static int blkvsc_probe(struct device *device) STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; struct device_context *device_ctx = device_to_device_context(device); - DEVICE_OBJECT* device_obj = &device_ctx->device_obj; + struct hv_device *device_obj = &device_ctx->device_obj; struct block_device_context *blkdev=NULL; STORVSC_DEVICE_INFO device_info; @@ -772,7 +772,7 @@ static int blkvsc_remove(struct device *device) STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &blkvsc_drv_ctx->drv_obj; struct device_context *device_ctx = device_to_device_context(device); - DEVICE_OBJECT* device_obj = &device_ctx->device_obj; + struct hv_device *device_obj = &device_ctx->device_obj; struct block_device_context *blkdev = dev_get_drvdata(device); unsigned long flags; |