summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8962.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-07-05 11:48:29 +0200
committerMark Brown <broonie@kernel.org>2015-07-07 15:39:02 +0200
commitc418a84a8c8f98b1a0f30cd68d0cdf40d77aed01 (patch)
tree8dd9daeb5a89fc544bef35b9c8643f80ff0910d3 /sound/soc/codecs/wm8962.c
parentLinux 4.2-rc1 (diff)
downloadlinux-c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01.tar.xz
linux-c418a84a8c8f98b1a0f30cd68d0cdf40d77aed01.zip
ASoC: Constify reg_default tables
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8962.c')
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index c5748fd4f296..8edc6d203404 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -113,7 +113,7 @@ WM8962_REGULATOR_EVENT(5)
WM8962_REGULATOR_EVENT(6)
WM8962_REGULATOR_EVENT(7)
-static struct reg_default wm8962_reg[] = {
+static const struct reg_default wm8962_reg[] = {
{ 0, 0x009F }, /* R0 - Left Input volume */
{ 1, 0x049F }, /* R1 - Right Input volume */
{ 2, 0x0000 }, /* R2 - HPOUTL volume */