From: Mathias Krause Date: Sun, 31 Aug 2014 08:57:09 +0000 (+0200) Subject: ahci: ahci_p5wdh_workaround - constify DMI table X-Git-Tag: firefly_0821_release~176^2~3098^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bd06867f7f168273c80ba10ce4025a97be98305;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Tejun Heo --- 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 = {