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 /drivers/ata | |
parent | c06231661e4fb5f2f50c73ff33702937a11764cf (diff) | |
download | linux-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.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) /* 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))) |