diff options
| -rw-r--r-- | sound/soc/codecs/tlv320aic31xx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index dcdc5751048f..d3517a919776 100644 --- a/sound/soc/codecs/tlv320aic31xx.c +++ b/sound/soc/codecs/tlv320aic31xx.c | |||
| @@ -129,7 +129,7 @@ static const struct regmap_range_cfg aic31xx_ranges[] = { | |||
| 129 | }, | 129 | }, |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | struct regmap_config aic31xx_i2c_regmap = { | 132 | static const struct regmap_config aic31xx_i2c_regmap = { |
| 133 | .reg_bits = 8, | 133 | .reg_bits = 8, |
| 134 | .val_bits = 8, | 134 | .val_bits = 8, |
| 135 | .writeable_reg = aic31xx_writeable, | 135 | .writeable_reg = aic31xx_writeable, |
| @@ -321,9 +321,9 @@ static const struct snd_kcontrol_new ldac_in_control = | |||
| 321 | static const struct snd_kcontrol_new rdac_in_control = | 321 | static const struct snd_kcontrol_new rdac_in_control = |
| 322 | SOC_DAPM_ENUM("DAC Right Input", rdac_in_enum); | 322 | SOC_DAPM_ENUM("DAC Right Input", rdac_in_enum); |
| 323 | 323 | ||
| 324 | int aic31xx_wait_bits(struct aic31xx_priv *aic31xx, unsigned int reg, | 324 | static int aic31xx_wait_bits(struct aic31xx_priv *aic31xx, unsigned int reg, |
| 325 | unsigned int mask, unsigned int wbits, int sleep, | 325 | unsigned int mask, unsigned int wbits, int sleep, |
| 326 | int count) | 326 | int count) |
| 327 | { | 327 | { |
| 328 | unsigned int bits; | 328 | unsigned int bits; |
| 329 | int counter = count; | 329 | int counter = count; |
| @@ -1177,7 +1177,7 @@ static void aic31xx_pdata_from_of(struct aic31xx_priv *aic31xx) | |||
| 1177 | } | 1177 | } |
| 1178 | #endif /* CONFIG_OF */ | 1178 | #endif /* CONFIG_OF */ |
| 1179 | 1179 | ||
| 1180 | void aic31xx_device_init(struct aic31xx_priv *aic31xx) | 1180 | static void aic31xx_device_init(struct aic31xx_priv *aic31xx) |
| 1181 | { | 1181 | { |
| 1182 | int ret, i; | 1182 | int ret, i; |
| 1183 | 1183 | ||
