aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/rt5670.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 840dd6d0003a..a9123d414178 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -51,12 +51,11 @@ static const struct regmap_range_cfg rt5670_ranges[] = {
51 .window_len = 0x1, }, 51 .window_len = 0x1, },
52}; 52};
53 53
54static struct reg_default init_list[] = { 54static const struct reg_default init_list[] = {
55 { RT5670_PR_BASE + 0x14, 0x9a8a }, 55 { RT5670_PR_BASE + 0x14, 0x9a8a },
56 { RT5670_PR_BASE + 0x38, 0x3ba1 }, 56 { RT5670_PR_BASE + 0x38, 0x3ba1 },
57 { RT5670_PR_BASE + 0x3d, 0x3640 }, 57 { RT5670_PR_BASE + 0x3d, 0x3640 },
58}; 58};
59#define RT5670_INIT_REG_LEN ARRAY_SIZE(init_list)
60 59
61static const struct reg_default rt5670_reg[] = { 60static const struct reg_default rt5670_reg[] = {
62 { 0x00, 0x0000 }, 61 { 0x00, 0x0000 },
@@ -2809,7 +2808,7 @@ static const struct i2c_device_id rt5670_i2c_id[] = {
2809MODULE_DEVICE_TABLE(i2c, rt5670_i2c_id); 2808MODULE_DEVICE_TABLE(i2c, rt5670_i2c_id);
2810 2809
2811#ifdef CONFIG_ACPI 2810#ifdef CONFIG_ACPI
2812static struct acpi_device_id rt5670_acpi_match[] = { 2811static const struct acpi_device_id rt5670_acpi_match[] = {
2813 { "10EC5670", 0}, 2812 { "10EC5670", 0},
2814 { }, 2813 { },
2815}; 2814};