Skip to content

Commit

Permalink
ahci: ahci_p5wdh_workaround - constify DMI table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mathias Krause authored and Tejun Heo committed Aug 31, 2014
1 parent 6bb86fe commit 1bd0686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1bd0686

Please sign in to comment.