summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-06-28 05:41:19 +0200
committerMark Brown <broonie@kernel.org>2015-07-06 22:42:53 +0200
commit0bc7d10c4abb7cec52d4d88f761476ed04225c83 (patch)
treecb6a693df2a73d2ab76bdccf32b6897fb8946959 /sound/soc/codecs/rt5645.c
parentASoC: rt5645: Prefix hexadecimal ID register value with 0x in error print (diff)
downloadlinux-0bc7d10c4abb7cec52d4d88f761476ed04225c83.tar.xz
linux-0bc7d10c4abb7cec52d4d88f761476ed04225c83.zip
ASoC: rt5645: 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/rt5645.c')
-rw-r--r--sound/soc/codecs/rt5645.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index a5bc96a0e77c..a07966bebfef 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3221,7 +3221,7 @@ static int strago_quirk_cb(const struct dmi_system_id *id)
return 1;
}
-static struct dmi_system_id dmi_platform_intel_braswell[] = {
+static const struct dmi_system_id dmi_platform_intel_braswell[] = {
{
.ident = "Intel Strago",
.callback = strago_quirk_cb,