Skip to content

Commit

Permalink
Staging: hv: Rename the function stor_vsc_device_add
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent 0d44f5b commit 2ac5dad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2ac5dad

Please sign in to comment.