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 */
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);
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);
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);
* 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",