|
@@ -312,9 +312,11 @@ static int vmbus_probe(struct device *child_device)
|
|
|
struct hv_driver *drv =
|
|
|
drv_to_hv_drv(child_device->driver);
|
|
|
struct hv_device *dev = device_to_hv_device(child_device);
|
|
|
+ const struct hv_vmbus_device_id *dev_id;
|
|
|
|
|
|
+ dev_id = hv_vmbus_get_id(drv->id_table, dev->dev_type.b);
|
|
|
if (drv->probe) {
|
|
|
- ret = drv->probe(dev);
|
|
|
+ ret = drv->probe(dev, dev_id);
|
|
|
if (ret != 0)
|
|
|
pr_err("probe failed for device %s (%d)\n",
|
|
|
dev_name(child_device), ret);
|