aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-07-13 01:26:45 -0400
committerMark Brown <broonie@kernel.org>2015-07-13 06:52:18 -0400
commit589bef3296317b5507a9a6e2e14fb30dd40ee764 (patch)
treec0bda14875d65be70c66a27ea1514c8bba878904
parente27d9ee6e709db070145847f9b5f52008f6eab84 (diff)
ASoC: sti-sas: Staticise local symbols
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/sti-sas.c20
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
241const struct snd_soc_dapm_widget stih416_sas_dapm_widgets[] = { 241static 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
251const struct snd_soc_dapm_widget stih407_sas_dapm_widgets[] = { 251static 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
259const struct snd_soc_dapm_route stih416_sas_route[] = { 259static 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
265const struct snd_soc_dapm_route stih407_sas_route[] = { 265static 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
410const struct snd_soc_dai_ops stih416_dac_ops = { 410static 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
417const struct snd_soc_dai_ops stih407_dac_ops = { 417static 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
424const struct regmap_config stih407_sas_regmap = { 424static 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
437const struct regmap_config stih416_sas_regmap = { 437static 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
450const struct sti_sas_dev_data stih416_data = { 450static 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
460const struct sti_sas_dev_data stih407_data = { 460static 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,