提交 55787183 编写于 作者: J Jeff Garzik 提交者: Jeff Garzik

ahci_platform: properly set up EM messaging

Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册