aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ac97/ac97_pcm.c')
-rw-r--r--sound/pci/ac97/ac97_pcm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_pcm.c b/sound/pci/ac97/ac97_pcm.c
index 512a3583b0ce..f684aa2c0067 100644
--- a/sound/pci/ac97/ac97_pcm.c
+++ b/sound/pci/ac97/ac97_pcm.c
@@ -317,6 +317,8 @@ int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate)
317 return 0; 317 return 0;
318} 318}
319 319
320EXPORT_SYMBOL(snd_ac97_set_rate);
321
320static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *spdif_slots) 322static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *spdif_slots)
321{ 323{
322 if (!ac97_is_audio(ac97)) 324 if (!ac97_is_audio(ac97))
@@ -550,6 +552,8 @@ int snd_ac97_pcm_assign(struct snd_ac97_bus *bus,
550 return 0; 552 return 0;
551} 553}
552 554
555EXPORT_SYMBOL(snd_ac97_pcm_assign);
556
553/** 557/**
554 * snd_ac97_pcm_open - opens the given AC97 pcm 558 * snd_ac97_pcm_open - opens the given AC97 pcm
555 * @pcm: the ac97 pcm instance 559 * @pcm: the ac97 pcm instance
@@ -633,6 +637,8 @@ int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate,
633 return err; 637 return err;
634} 638}
635 639
640EXPORT_SYMBOL(snd_ac97_pcm_open);
641
636/** 642/**
637 * snd_ac97_pcm_close - closes the given AC97 pcm 643 * snd_ac97_pcm_close - closes the given AC97 pcm
638 * @pcm: the ac97 pcm instance 644 * @pcm: the ac97 pcm instance
@@ -658,6 +664,8 @@ int snd_ac97_pcm_close(struct ac97_pcm *pcm)
658 return 0; 664 return 0;
659} 665}
660 666
667EXPORT_SYMBOL(snd_ac97_pcm_close);
668
661static int double_rate_hw_constraint_rate(struct snd_pcm_hw_params *params, 669static int double_rate_hw_constraint_rate(struct snd_pcm_hw_params *params,
662 struct snd_pcm_hw_rule *rule) 670 struct snd_pcm_hw_rule *rule)
663{ 671{
@@ -709,3 +717,5 @@ int snd_ac97_pcm_double_rate_rules(struct snd_pcm_runtime *runtime)
709 SNDRV_PCM_HW_PARAM_RATE, -1); 717 SNDRV_PCM_HW_PARAM_RATE, -1);
710 return err; 718 return err;
711} 719}
720
721EXPORT_SYMBOL(snd_ac97_pcm_double_rate_rules);