diff options
| -rw-r--r-- | sound/soc/codecs/wm8995.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index c280f0a3a424..120228b6b596 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c | |||
| @@ -44,7 +44,7 @@ static const char *wm8995_supply_names[WM8995_NUM_SUPPLIES] = { | |||
| 44 | "MICVDD" | 44 | "MICVDD" |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | static struct reg_default wm8995_reg_defaults[] = { | 47 | static const struct reg_default wm8995_reg_defaults[] = { |
| 48 | { 0, 0x8995 }, | 48 | { 0, 0x8995 }, |
| 49 | { 5, 0x0100 }, | 49 | { 5, 0x0100 }, |
| 50 | { 16, 0x000b }, | 50 | { 16, 0x000b }, |
| @@ -2190,7 +2190,7 @@ static struct snd_soc_dai_driver wm8995_dai[] = { | |||
| 2190 | } | 2190 | } |
| 2191 | }; | 2191 | }; |
| 2192 | 2192 | ||
| 2193 | static struct snd_soc_codec_driver soc_codec_dev_wm8995 = { | 2193 | static const struct snd_soc_codec_driver soc_codec_dev_wm8995 = { |
| 2194 | .probe = wm8995_probe, | 2194 | .probe = wm8995_probe, |
| 2195 | .remove = wm8995_remove, | 2195 | .remove = wm8995_remove, |
| 2196 | .set_bias_level = wm8995_set_bias_level, | 2196 | .set_bias_level = wm8995_set_bias_level, |
| @@ -2204,7 +2204,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8995 = { | |||
| 2204 | .num_dapm_routes = ARRAY_SIZE(wm8995_intercon), | 2204 | .num_dapm_routes = ARRAY_SIZE(wm8995_intercon), |
| 2205 | }; | 2205 | }; |
| 2206 | 2206 | ||
| 2207 | static struct regmap_config wm8995_regmap = { | 2207 | static const struct regmap_config wm8995_regmap = { |
| 2208 | .reg_bits = 16, | 2208 | .reg_bits = 16, |
| 2209 | .val_bits = 16, | 2209 | .val_bits = 16, |
| 2210 | 2210 | ||
