ahci: ahci_p5wdh_workaround - constify DMI table

The DMI table does not need to be written to, make it r/o.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Mathias Krause 2014-08-31 10:57:09 +02:00 committed by Tejun Heo
parent 6bb86fefa0
commit 1bd06867f7
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {