diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-28 05:40:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-08 20:29:06 +0200 |
commit | a5afdc5bf53995385b621361c976b8a29e07f701 (patch) | |
tree | 8e313e2fe83678a474a4afa8df885e19a9db7bbd /sound/soc/codecs/rt286.c | |
parent | ASoC: rt286: Prefix hexadecimal ID register value with 0x in error print (diff) | |
download | linux-a5afdc5bf53995385b621361c976b8a29e07f701.tar.xz linux-a5afdc5bf53995385b621361c976b8a29e07f701.zip |
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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt286.c')
-rw-r--r-- | sound/soc/codecs/rt286.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index 2f39843ebd14..491ed16dd5d2 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 = { |