Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55d1e9d8 authored by Mathias Krause's avatar Mathias Krause Committed by Matthew Garrett
Browse files

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: default avatarMathias Krause <minipli@googlemail.com>
Cc: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent d997d88e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",