diff options
author | Mark Brown <broonie@kernel.org> | 2015-07-16 22:35:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 22:35:01 +0200 |
commit | 7d9fb377a747025232fe4e8d17e54ff8032aba27 (patch) | |
tree | 275856c60130b84301673f3c9a302296227bee55 /sound/soc/codecs/rt286.c | |
parent | ASoC: drivers: Drop owner assignment from i2c_driver (diff) | |
parent | ASoC: Constify reg_default tables (diff) | |
download | linux-7d9fb377a747025232fe4e8d17e54ff8032aba27.tar.xz linux-7d9fb377a747025232fe4e8d17e54ff8032aba27.zip |
Merge branches 'topic/owner' and 'topic/reg-default' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-max9877
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 83029e461309..4a658aba7372 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -38,7 +38,7 @@ #define RT288_VENDOR_ID 0x10ec0288 struct rt286_priv { - struct reg_default *index_cache; + const struct reg_default *index_cache; int index_cache_size; struct regmap *regmap; struct snd_soc_codec *codec; @@ -50,7 +50,7 @@ struct rt286_priv { int clk_id; }; -static struct reg_default rt286_index_def[] = { +static const struct reg_default rt286_index_def[] = { { 0x01, 0xaaaa }, { 0x02, 0x8aaa }, { 0x03, 0x0002 }, |