diff options
author | Jaroslav Kysela <perex@perex.cz> | 2009-11-11 07:49:07 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-16 08:14:28 -0500 |
commit | 85dd662ff4d2967084acfc761a33717383297e42 (patch) | |
tree | aa274fbb508bc2ceeec81bb735ee297883234e92 /sound | |
parent | d019361a0802924e2dbcd7313fa3dcfc960222a7 (diff) |
ALSA: hda - move snd_hda_pcm_type_name from hda_codec.h to hda_local.h
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 | ||||
-rw-r--r-- | sound/pci/hda/hda_local.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 51920563bc7f..be6c5f443cd9 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -898,7 +898,6 @@ int snd_hda_codec_build_controls(struct hda_codec *codec); | |||
898 | /* | 898 | /* |
899 | * PCM | 899 | * PCM |
900 | */ | 900 | */ |
901 | extern const char *snd_hda_pcm_type_name[]; | ||
902 | int snd_hda_build_pcms(struct hda_bus *bus); | 901 | int snd_hda_build_pcms(struct hda_bus *bus); |
903 | int snd_hda_codec_build_pcms(struct hda_codec *codec); | 902 | int snd_hda_codec_build_pcms(struct hda_codec *codec); |
904 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, | 903 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, |
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 4e77f4747291..7c049839ea26 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -92,6 +92,8 @@ | |||
92 | #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \ | 92 | #define HDA_CODEC_MUTE_BEEP(xname, nid, xindex, direction) \ |
93 | HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction) | 93 | HDA_CODEC_MUTE_BEEP_MONO(xname, nid, 3, xindex, direction) |
94 | 94 | ||
95 | extern const char *snd_hda_pcm_type_name[]; | ||
96 | |||
95 | int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol, | 97 | int snd_hda_mixer_amp_volume_info(struct snd_kcontrol *kcontrol, |
96 | struct snd_ctl_elem_info *uinfo); | 98 | struct snd_ctl_elem_info *uinfo); |
97 | int snd_hda_mixer_amp_volume_get(struct snd_kcontrol *kcontrol, | 99 | int snd_hda_mixer_amp_volume_get(struct snd_kcontrol *kcontrol, |