OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c062316
)
ahci_platform: properly set up EM messaging
author
Jeff Garzik
<jeff@garzik.org>
Fri, 14 May 2010 21:23:37 +0000
(17:23 -0400)
committer
Jeff Garzik
<jgarzik@redhat.com>
Fri, 14 May 2010 21:35:51 +0000
(17:35 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci_platform.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ahci_platform.c
b/drivers/ata/ahci_platform.c
index
19bfd1d
..
5e11b16
100644
(file)
--- 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)))