Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236313
b: refs/heads/master
c: 94851c3
h: refs/heads/master
i:
  236311: 4c40c94
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Mar 7, 2011
1 parent db3548a commit 410881e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 904777c784eed64f6138b82da592c89bf0d37b9c
refs/heads/master: 94851c343d1f98f866760c96a8956e30b07e579c
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ static int blkvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
sizeof(struct hv_guid));

drv_ctx->driver.probe = blkvsc_probe;
drv_ctx->remove = blkvsc_remove;
drv_ctx->driver.remove = blkvsc_remove;
drv_ctx->shutdown = blkvsc_shutdown;

/* The driver belongs to vmbus */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ static int __init mousevsc_init(void)
sizeof(struct hv_guid));

drv_ctx->driver.probe = mousevsc_probe;
drv_ctx->remove = mousevsc_remove;
drv_ctx->driver.remove = mousevsc_remove;

/* The driver belongs to vmbus */
vmbus_child_driver_register(drv_ctx);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/netvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ static int netvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
sizeof(struct hv_guid));

drv_ctx->driver.probe = netvsc_probe;
drv_ctx->remove = netvsc_remove;
drv_ctx->driver.remove = netvsc_remove;

/* The driver belongs to vmbus */
ret = vmbus_child_driver_register(drv_ctx);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static int storvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
sizeof(struct hv_guid));

drv_ctx->driver.probe = storvsc_probe;
drv_ctx->remove = storvsc_remove;
drv_ctx->driver.remove = storvsc_remove;

/* The driver belongs to vmbus */
ret = vmbus_child_driver_register(drv_ctx);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,8 @@ static int vmbus_remove(struct device *child_device)
* Let the specific open-source driver handles the removal if
* it can
*/
if (driver_ctx->remove) {
ret = driver_ctx->remove(child_device);
if (driver_ctx->driver.remove) {
ret = driver_ctx->driver.remove(child_device);
} else {
DPRINT_ERR(VMBUS_DRV,
"remove() method not set for driver - %s",
Expand Down

0 comments on commit 410881e

Please sign in to comment.