summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-05-14 17:23:37 -0400
committerJeff Garzik <jgarzik@redhat.com>2010-05-14 17:35:51 -0400
commit55787183ade44c4f826f581a068f52a1a80c6a2e (patch)
tree6b8b06389954f6d1266cd8a4336b6e8db229a582 /drivers/ata
parentc06231661e4fb5f2f50c73ff33702937a11764cf (diff)
downloadlinux-55787183ade44c4f826f581a068f52a1a80c6a2e.tar.bz2
ahci_platform: properly set up EM messaging
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-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)
/* 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)))