ALSA: Make snd_pcm_debug_name usable outside pcm_lib
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Sat, 23 Jul 2011 00:36:25 +0000 (12:36 +1200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 24 Jul 2011 11:34:32 +0000 (13:34 +0200)
commitacb03d440b8a723181e1d45e3517e43cb0792f8a
tree19b93ccf3a036032c1d49ad6b5248c4a4dd6a480
parent8f398ae72fc7e03356fc1ee6b54beef79ba6be6a
ALSA: Make snd_pcm_debug_name usable outside pcm_lib

Formatting a PCM name is useful for module debug too.
Add snd_prefix when making function public.

[minor coding-style fixes by tiwai]

Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_lib.c
sound/pci/asihpi/asihpi.c