diff options
author | Jaroslav Kysela <perex@suse.cz> | 2006-01-18 05:50:40 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:27:05 -0500 |
commit | 3f72a30ccfd5054c01fc3bb0d37241df5380a54c (patch) | |
tree | 95209718f6b64162cb52b57d64c071b069d3710b /sound | |
parent | cdca881d79dc4133b35db5c855b688ee9cba12a9 (diff) |
[ALSA] snd_pcm_format_name() is no longer exported
Modules: PCM Midlevel,USB generic driver
Because snd_pcm_format_name() function is used only for informational
purposes, it is no longer exported from the PCM midlevel to reduce
space and dependency. usbaudio module shows only numeric value for format.
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/pcm.c | 1 | ||||
-rw-r--r-- | sound/usb/usbaudio.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c index f903d1bd74d5..3da6a38c2d0f 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c | |||
@@ -1105,7 +1105,6 @@ EXPORT_SYMBOL(snd_pcm_new_stream); | |||
1105 | EXPORT_SYMBOL(snd_pcm_notify); | 1105 | EXPORT_SYMBOL(snd_pcm_notify); |
1106 | EXPORT_SYMBOL(snd_pcm_open_substream); | 1106 | EXPORT_SYMBOL(snd_pcm_open_substream); |
1107 | EXPORT_SYMBOL(snd_pcm_release_substream); | 1107 | EXPORT_SYMBOL(snd_pcm_release_substream); |
1108 | EXPORT_SYMBOL(snd_pcm_format_name); | ||
1109 | /* pcm_native.c */ | 1108 | /* pcm_native.c */ |
1110 | EXPORT_SYMBOL(snd_pcm_link_rwlock); | 1109 | EXPORT_SYMBOL(snd_pcm_link_rwlock); |
1111 | #ifdef CONFIG_PM | 1110 | #ifdef CONFIG_PM |
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 53009bb642f6..51a862637f20 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c | |||
@@ -2029,7 +2029,7 @@ static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct s | |||
2029 | fp = list_entry(p, struct audioformat, list); | 2029 | fp = list_entry(p, struct audioformat, list); |
2030 | snd_iprintf(buffer, " Interface %d\n", fp->iface); | 2030 | snd_iprintf(buffer, " Interface %d\n", fp->iface); |
2031 | snd_iprintf(buffer, " Altset %d\n", fp->altsetting); | 2031 | snd_iprintf(buffer, " Altset %d\n", fp->altsetting); |
2032 | snd_iprintf(buffer, " Format: %s\n", snd_pcm_format_name(fp->format)); | 2032 | snd_iprintf(buffer, " Format: 0x%x\n", fp->format); |
2033 | snd_iprintf(buffer, " Channels: %d\n", fp->channels); | 2033 | snd_iprintf(buffer, " Channels: %d\n", fp->channels); |
2034 | snd_iprintf(buffer, " Endpoint: %d %s (%s)\n", | 2034 | snd_iprintf(buffer, " Endpoint: %d %s (%s)\n", |
2035 | fp->endpoint & USB_ENDPOINT_NUMBER_MASK, | 2035 | fp->endpoint & USB_ENDPOINT_NUMBER_MASK, |