From: Axel Lin Date: Sun, 28 Jun 2015 03:40:22 +0000 (+0800) Subject: ASoC: rt286: Constify dmi_system_id table X-Git-Tag: v4.14-rc1~4700^2~13^2~8^6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5afdc5bf53995385b621361c976b8a29e07f701;p=platform%2Fkernel%2Flinux-rpi.git 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: Axel Lin Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index 2f39843..491ed16 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -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 = {