projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffee53
)
ASoC: max98926: Constify max98926_reg and max98926_regmap
author
Axel Lin
<axel.lin@ingics.com>
Sat, 20 Feb 2016 02:56:58 +0000
(10:56 +0800)
committer
Mark Brown
<broonie@kernel.org>
Sat, 20 Feb 2016 18:08:50 +0000
(
03:08
+0900)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: anish kumar <yesanishhere@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98926.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/max98926.c
b/sound/soc/codecs/max98926.c
index 5245e107de30b37202ce4281a702d5b5452237f5..8d14adae5cc5c836d634ee5ddcfd5c64e6add1b0 100644
(file)
--- a/
sound/soc/codecs/max98926.c
+++ b/
sound/soc/codecs/max98926.c
@@
-40,7
+40,7
@@
static const char *const max98926_hpf_cutoff_txt[] = {
"200Hz", "400Hz", "800Hz",
};
-static struct reg_default max98926_reg[] = {
+static
const
struct reg_default max98926_reg[] = {
{ 0x0B, 0x00 }, /* IRQ Enable0 */
{ 0x0C, 0x00 }, /* IRQ Enable1 */
{ 0x0D, 0x00 }, /* IRQ Enable2 */
@@
-506,7
+506,7
@@
static struct snd_soc_codec_driver soc_codec_dev_max98926 = {
.num_dapm_widgets = ARRAY_SIZE(max98926_dapm_widgets),
};
-static struct regmap_config max98926_regmap = {
+static
const
struct regmap_config max98926_regmap = {
.reg_bits = 8,
.val_bits = 8,
.max_register = MAX98926_VERSION,