aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorWu Fengguang <wfg@linux.intel.com>2008-11-17 22:47:51 -0500
committerTakashi Iwai <tiwai@suse.de>2008-11-18 01:38:51 -0500
commit33deeca3bb6a945677d70876ea9d044fc5797eb3 (patch)
treef66885f6f6122559cbb38de1bcced20a0007ef5d /sound/pci/hda/hda_local.h
parent2eca83ba9cc6f811f8c63314b22b4bc0532e2207 (diff)
ALSA: introduce snd_print_pcm_rates()
We want to share some code with print_pcm_rates(), so extract a common routine snd_print_pcm_rates() from it. Signed-off-by: Wu Fengguang <wfg@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index aac569b05599..d7e3a164effe 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -284,6 +284,9 @@ int snd_hda_codec_proc_new(struct hda_codec *codec);
284static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; } 284static inline int snd_hda_codec_proc_new(struct hda_codec *codec) { return 0; }
285#endif 285#endif
286 286
287#define SND_PRINT_RATES_ADVISED_BUFSIZE 80
288void snd_print_pcm_rates(int pcm, char *buf, int buflen);
289
287/* 290/*
288 * Misc 291 * Misc
289 */ 292 */