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>
This commit is contained in:
parent
6bb86fefa0
commit
1bd06867f7
|
@ -780,7 +780,7 @@ static void ahci_pci_print_info(struct ata_host *host)
|
||||||
*/
|
*/
|
||||||
static void ahci_p5wdh_workaround(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",
|
.ident = "P5W DH Deluxe",
|
||||||
.matches = {
|
.matches = {
|
||||||
|
|
Loading…
Reference in New Issue