diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-27 10:37:14 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-29 17:21:31 +0100 |
commit | 3ec25ebd69dc120d0590e64caaf1477aa88c8a93 (patch) | |
tree | e0ea13a1f1e1fb5b2fa158fdd2f5122d09ae1d7f /drivers/ata/libata-eh.c | |
parent | pata_sil680: only enable MMIO on Cell blades (diff) | |
download | linux-3ec25ebd69dc120d0590e64caaf1477aa88c8a93.tar.xz linux-3ec25ebd69dc120d0590e64caaf1477aa88c8a93.zip |
libata: ATA_EHI_LPM should be ATA_EH_LPM
EH actions are ATA_EH_* not ATA_EHI_*. Rename ATA_EHI_LPM to
ATA_EH_LPM.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r-- | drivers/ata/libata-eh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 681252fd8143..a5830329eda4 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2748,7 +2748,7 @@ int ata_eh_recover(struct ata_port *ap, ata_prereset_fn_t prereset, ehc->i.flags &= ~ATA_EHI_SETMODE; } - if (ehc->i.action & ATA_EHI_LPM) + if (ehc->i.action & ATA_EH_LPM) ata_link_for_each_dev(dev, link) ata_dev_enable_pm(dev, ap->pm_policy); |