|
@@ -221,7 +221,8 @@ static int i2c_acpi_get_info(struct acpi_device *adev,
|
|
|
|
|
|
acpi_dev_free_resource_list(&resource_list);
|
|
acpi_dev_free_resource_list(&resource_list);
|
|
|
|
|
|
- strlcpy(info->type, dev_name(&adev->dev), sizeof(info->type));
|
|
|
|
|
|
+ acpi_set_modalias(adev, dev_name(&adev->dev), info->type,
|
|
|
|
+ sizeof(info->type));
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|