aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ahci_platform.c')
-rw-r--r--drivers/ata/ahci_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 19bfd1d76d40..5e11b160f247 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -125,7 +125,7 @@ static int __init ahci_probe(struct platform_device *pdev)
125 125
126 /* set enclosure management message type */ 126 /* set enclosure management message type */
127 if (ap->flags & ATA_FLAG_EM) 127 if (ap->flags & ATA_FLAG_EM)
128 ap->em_message_type = ahci_em_messages; 128 ap->em_message_type = hpriv->em_msg_type;
129 129
130 /* disabled/not-implemented port */ 130 /* disabled/not-implemented port */
131 if (!(hpriv->port_map & (1 << i))) 131 if (!(hpriv->port_map & (1 << i)))