|
@@ -1027,7 +1027,7 @@ static void ata_acpi_register_power_resource(struct ata_device *dev)
|
|
|
|
|
|
handle = ata_dev_acpi_handle(dev);
|
|
handle = ata_dev_acpi_handle(dev);
|
|
if (handle)
|
|
if (handle)
|
|
- acpi_dev_pm_remove_dependent(handle, &sdev->sdev_gendev);
|
|
|
|
|
|
+ acpi_dev_pm_add_dependent(handle, &sdev->sdev_gendev);
|
|
}
|
|
}
|
|
|
|
|
|
static void ata_acpi_unregister_power_resource(struct ata_device *dev)
|
|
static void ata_acpi_unregister_power_resource(struct ata_device *dev)
|