diff options
author | Sander Eikelenboom <linux@eikelenboom.it> | 2013-03-01 12:16:42 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2013-03-04 17:12:19 -0500 |
commit | dfd573644ce4ba1c9fbd625512bcfccf8c5ce7ff (patch) | |
tree | 1d423917c8748d11032e92e32d0f61425e18ba2f /drivers | |
parent | c99cc9a2f19c29108ddb2e1ceb6f3baa536357d2 (diff) | |
download | linux-stable-dfd573644ce4ba1c9fbd625512bcfccf8c5ce7ff.tar.gz linux-stable-dfd573644ce4ba1c9fbd625512bcfccf8c5ce7ff.tar.bz2 linux-stable-dfd573644ce4ba1c9fbd625512bcfccf8c5ce7ff.zip |
libata-acpi.c: fix copy and paste mistake in ata_acpi_register_power_resource
Fix a copy and paste mistake introduced in:
commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8
"ACPI / PM: Rework the handling of devices depending on power resources"
Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/libata-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index 0ea1018280bd..cb3eab6d520f 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c @@ -1027,7 +1027,7 @@ static void ata_acpi_register_power_resource(struct ata_device *dev) handle = ata_dev_acpi_handle(dev); 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) |