Staging: hv: Rename the function stor_vsc_device_add
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:53:57 +0000 (07:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:38:55 +0000 (13:38 -0700)
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.c
drivers/staging/hv/storvsc_api.h
drivers/staging/hv/storvsc_drv.c

index 68cdbaf45142427bbee5d6cc604261f60940cbc8..43391a40f5be7807b9188bc8816860e69cd29cbb 100644 (file)
@@ -147,7 +147,7 @@ static int blkvsc_device_add(struct hv_device *device,
 
        device_info = (struct storvsc_device_info *)additional_info;
 
-       ret = stor_vsc_on_device_add(device, additional_info);
+       ret = storvsc_dev_add(device, additional_info);
        if (ret != 0)
                return ret;
 
index 6be504bff2edeea85c95f3c6bd526a14c24a0806..503c6bf125250caf7fc2f10351f85c9041e8bf17 100644 (file)
@@ -442,7 +442,7 @@ static int stor_vsc_connect_to_vsp(struct hv_device *device)
  * stor_vsc_on_device_add - Callback when the device belonging to this driver
  * is added
  */
-int stor_vsc_on_device_add(struct hv_device *device,
+int storvsc_dev_add(struct hv_device *device,
                                        void *additional_info)
 {
        struct storvsc_device *stor_device;
index 4ebf50ae775b348dc6eaf8e6997a473e7da1f1df..02001545da34fb0f6e8151aeb9575e9331d6ffae 100644 (file)
@@ -163,7 +163,7 @@ struct storvsc_driver *drv_to_stordrv(struct device_driver *d)
 
 /* Interface */
 
-int stor_vsc_on_device_add(struct hv_device *device,
+int storvsc_dev_add(struct hv_device *device,
                                void *additional_info);
 int stor_vsc_on_device_remove(struct hv_device *device);
 
index 1fce10e4425c8787586befaf2b65623b8805c967..5168eb7f7a67a4b11f64fe14d458f3b7ef42cde2 100644 (file)
@@ -113,7 +113,7 @@ static int stor_vsc_initialize(struct hv_driver *driver)
                    STORVSC_MAX_IO_REQUESTS);
 
        /* Setup the dispatch table */
-       stor_driver->base.dev_add       = stor_vsc_on_device_add;
+       stor_driver->base.dev_add       = storvsc_dev_add;
        stor_driver->base.dev_rm        = stor_vsc_on_device_remove;
        stor_driver->base.cleanup       = stor_vsc_on_cleanup;
 
This page took 0.029014 seconds and 5 git commands to generate.