diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:53:52 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:38:51 -0700 |
commit | 2e79505d02e2a2ae3e5df60c1f06ebe9e6e00c9e (patch) | |
tree | 1ba8dcd0ba0fe0e26cfa9b3663111e834761a0d3 /drivers/staging/hv/blkvsc_drv.c | |
parent | 1f9c54e40f8a70d2505fff08e6c0d1d7dc9761f6 (diff) | |
download | linux-2e79505d02e2a2ae3e5df60c1f06ebe9e6e00c9e.tar.bz2 |
Staging: hv: Change the name of struct storvsc_driver_object
Rename the 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>
Diffstat (limited to 'drivers/staging/hv/blkvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/blkvsc_drv.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index 51d1265b793f..a80e7c11780f 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -170,7 +170,7 @@ static int blk_vsc_on_device_add(struct hv_device *device, static int blk_vsc_initialize(struct hv_driver *driver) { - struct storvsc_driver_object *stor_driver; + struct storvsc_driver *stor_driver; int ret = 0; stor_driver = hvdr_to_stordr(driver); @@ -211,7 +211,7 @@ static int blkvsc_submit_request(struct blkvsc_request *blkvsc_req, { struct block_device_context *blkdev = blkvsc_req->dev; struct hv_device *device_ctx = blkdev->device_ctx; - struct storvsc_driver_object *storvsc_drv_obj = + struct storvsc_driver *storvsc_drv_obj = drv_to_stordrv(device_ctx->device.driver); struct hv_storvsc_request *storvsc_req; struct vmscsi_request *vm_srb; @@ -544,7 +544,7 @@ out: */ static int blkvsc_remove(struct hv_device *dev) { - struct storvsc_driver_object *storvsc_drv_obj = + struct storvsc_driver *storvsc_drv_obj = drv_to_stordrv(dev->device.driver); struct block_device_context *blkdev = dev_get_drvdata(&dev->device); unsigned long flags; @@ -852,7 +852,7 @@ static void blkvsc_request(struct request_queue *queue) /* The one and only one */ -static struct storvsc_driver_object g_blkvsc_drv; +static struct storvsc_driver g_blkvsc_drv; static const struct block_device_operations block_ops = { .owner = THIS_MODULE, @@ -867,7 +867,7 @@ static const struct block_device_operations block_ops = { */ static int blkvsc_drv_init(void) { - struct storvsc_driver_object *storvsc_drv_obj = &g_blkvsc_drv; + struct storvsc_driver *storvsc_drv_obj = &g_blkvsc_drv; struct hv_driver *drv = &g_blkvsc_drv.base; int ret; @@ -897,7 +897,7 @@ static int blkvsc_drv_exit_cb(struct device *dev, void *data) static void blkvsc_drv_exit(void) { - struct storvsc_driver_object *storvsc_drv_obj = &g_blkvsc_drv; + struct storvsc_driver *storvsc_drv_obj = &g_blkvsc_drv; struct hv_driver *drv = &g_blkvsc_drv.base; struct device *current_dev; int ret; @@ -935,7 +935,7 @@ static void blkvsc_drv_exit(void) */ static int blkvsc_probe(struct hv_device *dev) { - struct storvsc_driver_object *storvsc_drv_obj = + struct storvsc_driver *storvsc_drv_obj = drv_to_stordrv(dev->device.driver); struct block_device_context *blkdev = NULL; |