diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-05-14 17:23:37 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-14 17:35:51 -0400 |
commit | 55787183ade44c4f826f581a068f52a1a80c6a2e (patch) | |
tree | 6b8b06389954f6d1266cd8a4336b6e8db229a582 | |
parent | c06231661e4fb5f2f50c73ff33702937a11764cf (diff) |
ahci_platform: properly set up EM messaging
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/ahci_platform.c | 2 |
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))) |