From: Jeff Garzik Date: Fri, 14 May 2010 21:23:37 +0000 (-0400) Subject: ahci_platform: properly set up EM messaging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55787183ade44c4f826f581a068f52a1a80c6a2e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ahci_platform: properly set up EM messaging Signed-off-by: Jeff Garzik --- 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)))