* [PATCH] ahci: ahci_p5wdh_workaround - constify DMI table
@ 2014-08-31 8:57 Mathias Krause
2014-08-31 9:37 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Krause @ 2014-08-31 8:57 UTC (permalink / raw)
To: Tejun Heo; +Cc: linux-ide, Mathias Krause
The DMI table does not need to be written to, make it r/o.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
---
drivers/ata/ahci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index a29f8012fb08..c880699a7d0b 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -780,7 +780,7 @@ static void ahci_pci_print_info(struct ata_host *host)
*/
static void ahci_p5wdh_workaround(struct ata_host *host)
{
- static struct dmi_system_id sysids[] = {
+ static const struct dmi_system_id sysids[] = {
{
.ident = "P5W DH Deluxe",
.matches = {
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-31 9:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-31 8:57 [PATCH] ahci: ahci_p5wdh_workaround - constify DMI table Mathias Krause
2014-08-31 9:37 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).