memcpy(&drv_ctx->class_id, &storvsc_drv_obj->base.dev_type,
sizeof(struct hv_guid));
- drv_ctx->probe = blkvsc_probe;
+ drv_ctx->driver.probe = blkvsc_probe;
drv_ctx->remove = blkvsc_remove;
drv_ctx->shutdown = blkvsc_shutdown;
memcpy(&drv_ctx->class_id, &input_drv_obj->Base.dev_type,
sizeof(struct hv_guid));
- drv_ctx->probe = mousevsc_probe;
+ drv_ctx->driver.probe = mousevsc_probe;
drv_ctx->remove = mousevsc_remove;
/* The driver belongs to vmbus */
memcpy(&drv_ctx->class_id, &net_drv_obj->base.dev_type,
sizeof(struct hv_guid));
- drv_ctx->probe = netvsc_probe;
+ drv_ctx->driver.probe = netvsc_probe;
drv_ctx->remove = netvsc_remove;
/* The driver belongs to vmbus */
memcpy(&drv_ctx->class_id, &storvsc_drv_obj->base.dev_type,
sizeof(struct hv_guid));
- drv_ctx->probe = storvsc_probe;
+ drv_ctx->driver.probe = storvsc_probe;
drv_ctx->remove = storvsc_remove;
/* The driver belongs to vmbus */
device_to_vm_device(child_device);
/* Let the specific open-source driver handles the probe if it can */
- if (driver_ctx->probe) {
- ret = device_ctx->probe_error = driver_ctx->probe(child_device);
+ if (driver_ctx->driver.probe) {
+ ret = device_ctx->probe_error =
+ driver_ctx->driver.probe(child_device);
if (ret != 0) {
DPRINT_ERR(VMBUS_DRV, "probe() failed for device %s "
"(%p) on driver %s (%d)...",