asus-nb-wmi: Constify asus_quirks[] DMI table

Constify the asus_quirks[] DMI table. There's no need to have it
writeable during runtime.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:
Mathias Krause 2014-07-16 19:43:08 +02:00 коммит произвёл Matthew Garrett
Родитель d997d88edf
Коммит 55d1e9d83d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -84,7 +84,7 @@ static int dmi_matched(const struct dmi_system_id *dmi)
return 1; return 1;
} }
static struct dmi_system_id asus_quirks[] = { static const struct dmi_system_id asus_quirks[] = {
{ {
.callback = dmi_matched, .callback = dmi_matched,
.ident = "ASUSTeK COMPUTER INC. X401U", .ident = "ASUSTeK COMPUTER INC. X401U",