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

Commit a5afdc5b authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: rt286: Constify dmi_system_id table



dmi_check_system() takes "const struct dmi_system_id *", so make the
dmi_system_id table const.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e608aaef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1108,7 +1108,7 @@ static const struct acpi_device_id rt286_acpi_match[] = {
};
MODULE_DEVICE_TABLE(acpi, rt286_acpi_match);

static struct dmi_system_id force_combo_jack_table[] = {
static const struct dmi_system_id force_combo_jack_table[] = {
	{
		.ident = "Intel Wilson Beach",
		.matches = {
@@ -1118,7 +1118,7 @@ static struct dmi_system_id force_combo_jack_table[] = {
	{ }
};

static struct dmi_system_id dmi_dell_dino[] = {
static const struct dmi_system_id dmi_dell_dino[] = {
	{
		.ident = "Dell Dino",
		.matches = {