ALSA: hda - move snd_hda_pcm_type_name from hda_codec.h to hda_local.h
authorJaroslav Kysela <perex@perex.cz>
Wed, 11 Nov 2009 12:49:07 +0000 (13:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Nov 2009 13:14:28 +0000 (14:14 +0100)
The snd_hda_pcm_type_name array is local only.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.h
sound/pci/hda/hda_local.h

index 51920563bc7f4fbd1349ebbd1b2335fe07ecf406..be6c5f443cd9d5e478fb27cf33c33fc6d04d9549 100644 (file)
@@ -898,7 +898,6 @@ int snd_hda_codec_build_controls(struct hda_codec *codec);
 /*
  * PCM
  */
-extern const char *snd_hda_pcm_type_name[];
 int snd_hda_build_pcms(struct hda_bus *bus);
 int snd_hda_codec_build_pcms(struct hda_codec *codec);
 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid,
index 4e77f4747291a4af3a5ee3206bc9a5f43523795f..7c049839ea2600cae4d2eb233a52c33707c5f0d0 100644 (file)
@@ -92,6 +92,8 @@
 #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \
        HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction)
 
+extern const char *snd_hda_pcm_type_name[];
+
 int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol,
                                  struct snd_ctl_elem_info *uinfo);
 int snd_hda_mixer_amp_volume_get(struct snd_kcontrol *kcontrol,