Commit 1bd06867 authored by Mathias Krause's avatar Mathias Krause Committed by Tejun Heo

ahci: ahci_p5wdh_workaround - constify DMI table

The DMI table does not need to be written to, make it r/o.
Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 6bb86fef
...@@ -780,7 +780,7 @@ static void ahci_pci_print_info(struct ata_host *host) ...@@ -780,7 +780,7 @@ static void ahci_pci_print_info(struct ata_host *host)
*/ */
static void ahci_p5wdh_workaround(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", .ident = "P5W DH Deluxe",
.matches = { .matches = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment