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 <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
Mathias Krause 2014-08-31 10:57:09 +02:00 • committed by Tejun Heo
commit 1bd06867f7

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 struct dmi_system_id sysids[] = {
static const struct dmi_system_id sysids[] = {
{
.ident = "P5W DH Deluxe",
.matches = {