summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 99d0e5a51148..68f7b4216501 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -1209,7 +1209,7 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
0x100 + ap->port_no * 0x80, "port");
/* set initial link pm policy */
- ap->pm_policy = NOT_AVAILABLE;
+ ap->lpm_policy = ATA_LPM_UNKNOWN;
/* set enclosure management message type */
if (ap->flags & ATA_FLAG_EM)