提交 2ac5dad1 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Staging: hv: Rename the function stor_vsc_device_add

Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: NHank Janssen <hjanssen@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 0d44f5bf
无相关合并请求
...@@ -147,7 +147,7 @@ static int blkvsc_device_add(struct hv_device *device, ...@@ -147,7 +147,7 @@ static int blkvsc_device_add(struct hv_device *device,
device_info = (struct storvsc_device_info *)additional_info; 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) if (ret != 0)
return ret; return ret;
......
...@@ -442,7 +442,7 @@ static int stor_vsc_connect_to_vsp(struct hv_device *device) ...@@ -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 * stor_vsc_on_device_add - Callback when the device belonging to this driver
* is added * is added
*/ */
int stor_vsc_on_device_add(struct hv_device *device, int storvsc_dev_add(struct hv_device *device,
void *additional_info) void *additional_info)
{ {
struct storvsc_device *stor_device; struct storvsc_device *stor_device;
......
...@@ -163,7 +163,7 @@ struct storvsc_driver *drv_to_stordrv(struct device_driver *d) ...@@ -163,7 +163,7 @@ struct storvsc_driver *drv_to_stordrv(struct device_driver *d)
/* Interface */ /* Interface */
int stor_vsc_on_device_add(struct hv_device *device, int storvsc_dev_add(struct hv_device *device,
void *additional_info); void *additional_info);
int stor_vsc_on_device_remove(struct hv_device *device); int stor_vsc_on_device_remove(struct hv_device *device);
......
...@@ -113,7 +113,7 @@ static int stor_vsc_initialize(struct hv_driver *driver) ...@@ -113,7 +113,7 @@ static int stor_vsc_initialize(struct hv_driver *driver)
STORVSC_MAX_IO_REQUESTS); STORVSC_MAX_IO_REQUESTS);
/* Setup the dispatch table */ /* 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.dev_rm = stor_vsc_on_device_remove;
stor_driver->base.cleanup = stor_vsc_on_cleanup; stor_driver->base.cleanup = stor_vsc_on_cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部