diff options
| -rw-r--r-- | sound/soc/codecs/sti-sas.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/soc/codecs/sti-sas.c b/sound/soc/codecs/sti-sas.c index 4168b88ba3b1..6c0bbe8b495e 100644 --- a/sound/soc/codecs/sti-sas.c +++ b/sound/soc/codecs/sti-sas.c | |||
| @@ -238,7 +238,7 @@ static int stih416_dac_probe(struct snd_soc_dai *dai) | |||
| 238 | return 0; | 238 | return 0; |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | const struct snd_soc_dapm_widget stih416_sas_dapm_widgets[] = { | 241 | static const struct snd_soc_dapm_widget stih416_sas_dapm_widgets[] = { |
| 242 | SND_SOC_DAPM_PGA("DAC bandgap", STIH416_AUDIO_DAC_CTRL, | 242 | SND_SOC_DAPM_PGA("DAC bandgap", STIH416_AUDIO_DAC_CTRL, |
| 243 | STIH416_DAC_NOT_PNDBG_MASK, 0, NULL, 0), | 243 | STIH416_DAC_NOT_PNDBG_MASK, 0, NULL, 0), |
| 244 | SND_SOC_DAPM_OUT_DRV("DAC standby ana", STIH416_AUDIO_DAC_CTRL, | 244 | SND_SOC_DAPM_OUT_DRV("DAC standby ana", STIH416_AUDIO_DAC_CTRL, |
| @@ -248,7 +248,7 @@ const struct snd_soc_dapm_widget stih416_sas_dapm_widgets[] = { | |||
| 248 | SND_SOC_DAPM_OUTPUT("DAC Output"), | 248 | SND_SOC_DAPM_OUTPUT("DAC Output"), |
| 249 | }; | 249 | }; |
| 250 | 250 | ||
| 251 | const struct snd_soc_dapm_widget stih407_sas_dapm_widgets[] = { | 251 | static const struct snd_soc_dapm_widget stih407_sas_dapm_widgets[] = { |
| 252 | SND_SOC_DAPM_OUT_DRV("DAC standby ana", STIH407_AUDIO_DAC_CTRL, | 252 | SND_SOC_DAPM_OUT_DRV("DAC standby ana", STIH407_AUDIO_DAC_CTRL, |
| 253 | STIH407_DAC_STANDBY_ANA, 1, NULL, 0), | 253 | STIH407_DAC_STANDBY_ANA, 1, NULL, 0), |
| 254 | SND_SOC_DAPM_DAC("DAC standby", "dac_p", STIH407_AUDIO_DAC_CTRL, | 254 | SND_SOC_DAPM_DAC("DAC standby", "dac_p", STIH407_AUDIO_DAC_CTRL, |
| @@ -256,13 +256,13 @@ const struct snd_soc_dapm_widget stih407_sas_dapm_widgets[] = { | |||
| 256 | SND_SOC_DAPM_OUTPUT("DAC Output"), | 256 | SND_SOC_DAPM_OUTPUT("DAC Output"), |
| 257 | }; | 257 | }; |
| 258 | 258 | ||
| 259 | const struct snd_soc_dapm_route stih416_sas_route[] = { | 259 | static const struct snd_soc_dapm_route stih416_sas_route[] = { |
| 260 | {"DAC Output", NULL, "DAC bandgap"}, | 260 | {"DAC Output", NULL, "DAC bandgap"}, |
| 261 | {"DAC Output", NULL, "DAC standby ana"}, | 261 | {"DAC Output", NULL, "DAC standby ana"}, |
| 262 | {"DAC standby ana", NULL, "DAC standby"}, | 262 | {"DAC standby ana", NULL, "DAC standby"}, |
| 263 | }; | 263 | }; |
| 264 | 264 | ||
| 265 | const struct snd_soc_dapm_route stih407_sas_route[] = { | 265 | static const struct snd_soc_dapm_route stih407_sas_route[] = { |
| 266 | {"DAC Output", NULL, "DAC standby ana"}, | 266 | {"DAC Output", NULL, "DAC standby ana"}, |
| 267 | {"DAC standby ana", NULL, "DAC standby"}, | 267 | {"DAC standby ana", NULL, "DAC standby"}, |
| 268 | }; | 268 | }; |
| @@ -407,21 +407,21 @@ static int sti_sas_prepare(struct snd_pcm_substream *substream, | |||
| 407 | return 0; | 407 | return 0; |
| 408 | } | 408 | } |
| 409 | 409 | ||
| 410 | const struct snd_soc_dai_ops stih416_dac_ops = { | 410 | static const struct snd_soc_dai_ops stih416_dac_ops = { |
| 411 | .set_fmt = sti_sas_dac_set_fmt, | 411 | .set_fmt = sti_sas_dac_set_fmt, |
| 412 | .mute_stream = stih416_sas_dac_mute, | 412 | .mute_stream = stih416_sas_dac_mute, |
| 413 | .prepare = sti_sas_prepare, | 413 | .prepare = sti_sas_prepare, |
| 414 | .set_sysclk = sti_sas_set_sysclk, | 414 | .set_sysclk = sti_sas_set_sysclk, |
| 415 | }; | 415 | }; |
| 416 | 416 | ||
| 417 | const struct snd_soc_dai_ops stih407_dac_ops = { | 417 | static const struct snd_soc_dai_ops stih407_dac_ops = { |
| 418 | .set_fmt = sti_sas_dac_set_fmt, | 418 | .set_fmt = sti_sas_dac_set_fmt, |
| 419 | .mute_stream = stih407_sas_dac_mute, | 419 | .mute_stream = stih407_sas_dac_mute, |
| 420 | .prepare = sti_sas_prepare, | 420 | .prepare = sti_sas_prepare, |
| 421 | .set_sysclk = sti_sas_set_sysclk, | 421 | .set_sysclk = sti_sas_set_sysclk, |
| 422 | }; | 422 | }; |
| 423 | 423 | ||
| 424 | const struct regmap_config stih407_sas_regmap = { | 424 | static const struct regmap_config stih407_sas_regmap = { |
| 425 | .reg_bits = 32, | 425 | .reg_bits = 32, |
| 426 | .val_bits = 32, | 426 | .val_bits = 32, |
| 427 | 427 | ||
| @@ -434,7 +434,7 @@ const struct regmap_config stih407_sas_regmap = { | |||
| 434 | .reg_write = sti_sas_write_reg, | 434 | .reg_write = sti_sas_write_reg, |
| 435 | }; | 435 | }; |
| 436 | 436 | ||
| 437 | const struct regmap_config stih416_sas_regmap = { | 437 | static const struct regmap_config stih416_sas_regmap = { |
| 438 | .reg_bits = 32, | 438 | .reg_bits = 32, |
| 439 | .val_bits = 32, | 439 | .val_bits = 32, |
| 440 | 440 | ||
| @@ -447,7 +447,7 @@ const struct regmap_config stih416_sas_regmap = { | |||
| 447 | .reg_write = sti_sas_write_reg, | 447 | .reg_write = sti_sas_write_reg, |
| 448 | }; | 448 | }; |
| 449 | 449 | ||
| 450 | const struct sti_sas_dev_data stih416_data = { | 450 | static const struct sti_sas_dev_data stih416_data = { |
| 451 | .chipid = CHIPID_STIH416, | 451 | .chipid = CHIPID_STIH416, |
| 452 | .regmap = &stih416_sas_regmap, | 452 | .regmap = &stih416_sas_regmap, |
| 453 | .dac_ops = &stih416_dac_ops, | 453 | .dac_ops = &stih416_dac_ops, |
| @@ -457,7 +457,7 @@ const struct sti_sas_dev_data stih416_data = { | |||
| 457 | .num_dapm_routes = ARRAY_SIZE(stih416_sas_route), | 457 | .num_dapm_routes = ARRAY_SIZE(stih416_sas_route), |
| 458 | }; | 458 | }; |
| 459 | 459 | ||
| 460 | const struct sti_sas_dev_data stih407_data = { | 460 | static const struct sti_sas_dev_data stih407_data = { |
| 461 | .chipid = CHIPID_STIH407, | 461 | .chipid = CHIPID_STIH407, |
| 462 | .regmap = &stih407_sas_regmap, | 462 | .regmap = &stih407_sas_regmap, |
| 463 | .dac_ops = &stih407_dac_ops, | 463 | .dac_ops = &stih407_dac_ops, |
