提交 55d1e9d8 编写于 作者: M Mathias Krause 提交者: Matthew Garrett

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: NMathias Krause <minipli@googlemail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
上级 d997d88e
......@@ -84,7 +84,7 @@ static int dmi_matched(const struct dmi_system_id *dmi)
return 1;
}
static struct dmi_system_id asus_quirks[] = {
static const struct dmi_system_id asus_quirks[] = {
{
.callback = dmi_matched,
.ident = "ASUSTeK COMPUTER INC. X401U",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册