Browse Source

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>
Mathias Krause 11 years ago
parent
commit
1bd06867f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/ata/ahci.c

+ 1 - 1
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 = {