diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-04-28 09:13:40 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-22 15:33:05 -0400 |
commit | e88e8ae639a4908b903d9406c54e99a729b01a28 (patch) | |
tree | ff49ba0d2370c3259b055986ebca6487994cf6e2 /sound/core/pcm.c | |
parent | e5e8a1d4618595ea406336da3cdbd0c6eb6f260d (diff) |
[ALSA] Move OSS-specific hw_params helper to snd-pcm-oss module
Move EXPORT_SYMBOL()s to places adjacent to functions/variables.
Also move OSS-specific hw_params helper functions to pcm_oss.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/pcm.c')
-rw-r--r-- | sound/core/pcm.c | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index 84b00038236d..8c15c01907f4 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c | |||
@@ -671,6 +671,8 @@ int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) | |||
671 | return 0; | 671 | return 0; |
672 | } | 672 | } |
673 | 673 | ||
674 | EXPORT_SYMBOL(snd_pcm_new_stream); | ||
675 | |||
674 | /** | 676 | /** |
675 | * snd_pcm_new - create a new PCM instance | 677 | * snd_pcm_new - create a new PCM instance |
676 | * @card: the card instance | 678 | * @card: the card instance |
@@ -730,6 +732,8 @@ int snd_pcm_new(struct snd_card *card, char *id, int device, | |||
730 | return 0; | 732 | return 0; |
731 | } | 733 | } |
732 | 734 | ||
735 | EXPORT_SYMBOL(snd_pcm_new); | ||
736 | |||
733 | static void snd_pcm_free_stream(struct snd_pcm_str * pstr) | 737 | static void snd_pcm_free_stream(struct snd_pcm_str * pstr) |
734 | { | 738 | { |
735 | struct snd_pcm_substream *substream, *substream_next; | 739 | struct snd_pcm_substream *substream, *substream_next; |
@@ -1022,6 +1026,8 @@ int snd_pcm_notify(struct snd_pcm_notify *notify, int nfree) | |||
1022 | return 0; | 1026 | return 0; |
1023 | } | 1027 | } |
1024 | 1028 | ||
1029 | EXPORT_SYMBOL(snd_pcm_notify); | ||
1030 | |||
1025 | #ifdef CONFIG_PROC_FS | 1031 | #ifdef CONFIG_PROC_FS |
1026 | /* | 1032 | /* |
1027 | * Info interface | 1033 | * Info interface |
@@ -1099,33 +1105,3 @@ static void __exit alsa_pcm_exit(void) | |||
1099 | 1105 | ||
1100 | module_init(alsa_pcm_init) | 1106 | module_init(alsa_pcm_init) |
1101 | module_exit(alsa_pcm_exit) | 1107 | module_exit(alsa_pcm_exit) |
1102 | |||
1103 | EXPORT_SYMBOL(snd_pcm_new); | ||
1104 | EXPORT_SYMBOL(snd_pcm_new_stream); | ||
1105 | EXPORT_SYMBOL(snd_pcm_notify); | ||
1106 | EXPORT_SYMBOL(snd_pcm_open_substream); | ||
1107 | EXPORT_SYMBOL(snd_pcm_release_substream); | ||
1108 | /* pcm_native.c */ | ||
1109 | EXPORT_SYMBOL(snd_pcm_link_rwlock); | ||
1110 | #ifdef CONFIG_PM | ||
1111 | EXPORT_SYMBOL(snd_pcm_suspend); | ||
1112 | EXPORT_SYMBOL(snd_pcm_suspend_all); | ||
1113 | #endif | ||
1114 | EXPORT_SYMBOL(snd_pcm_kernel_ioctl); | ||
1115 | EXPORT_SYMBOL(snd_pcm_mmap_data); | ||
1116 | #if SNDRV_PCM_INFO_MMAP_IOMEM | ||
1117 | EXPORT_SYMBOL(snd_pcm_lib_mmap_iomem); | ||
1118 | #endif | ||
1119 | /* pcm_misc.c */ | ||
1120 | EXPORT_SYMBOL(snd_pcm_format_signed); | ||
1121 | EXPORT_SYMBOL(snd_pcm_format_unsigned); | ||
1122 | EXPORT_SYMBOL(snd_pcm_format_linear); | ||
1123 | EXPORT_SYMBOL(snd_pcm_format_little_endian); | ||
1124 | EXPORT_SYMBOL(snd_pcm_format_big_endian); | ||
1125 | EXPORT_SYMBOL(snd_pcm_format_width); | ||
1126 | EXPORT_SYMBOL(snd_pcm_format_physical_width); | ||
1127 | EXPORT_SYMBOL(snd_pcm_format_size); | ||
1128 | EXPORT_SYMBOL(snd_pcm_format_silence_64); | ||
1129 | EXPORT_SYMBOL(snd_pcm_format_set_silence); | ||
1130 | EXPORT_SYMBOL(snd_pcm_build_linear_format); | ||
1131 | EXPORT_SYMBOL(snd_pcm_limit_hw_rates); | ||