summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-08-31 10:57:09 +0200
committerTejun Heo <tj@kernel.org>2014-08-31 11:36:46 +0200
commit1bd06867f7f168273c80ba10ce4025a97be98305 (patch)
treea844b0103db194e2308a1fceabb640526857f6ab /drivers/ata/ahci.c
parentlibahci_platform: Staticize ahci_platform_<en/dis>able_phys() (diff)
downloadlinux-1bd06867f7f168273c80ba10ce4025a97be98305.tar.xz
linux-1bd06867f7f168273c80ba10ce4025a97be98305.zip
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>
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r--drivers/ata/ahci.c2
1 files changed, 1 insertions, 1 deletions
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 = {