Commit 55787183 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

ahci_platform: properly set up EM messaging

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c0623166
......@@ -125,7 +125,7 @@ static int __init ahci_probe(struct platform_device *pdev)
/* set enclosure management message type */
if (ap->flags & ATA_FLAG_EM)
ap->em_message_type = ahci_em_messages;
ap->em_message_type = hpriv->em_msg_type;
/* disabled/not-implemented port */
if (!(hpriv->port_map & (1 << i)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment