diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 4034625b5997..9fe0b67bb1e4 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -617,6 +617,9 @@ struct hda_bus { | |||
617 | 617 | ||
618 | struct snd_info_entry *proc; | 618 | struct snd_info_entry *proc; |
619 | 619 | ||
620 | /* assigned PCMs */ | ||
621 | DECLARE_BITMAP(pcm_dev_bits, SNDRV_PCM_DEVICES); | ||
622 | |||
620 | /* misc op flags */ | 623 | /* misc op flags */ |
621 | unsigned int needs_damn_long_delay :1; | 624 | unsigned int needs_damn_long_delay :1; |
622 | unsigned int shutdown :1; /* being unloaded */ | 625 | unsigned int shutdown :1; /* being unloaded */ |
@@ -846,6 +849,7 @@ int snd_hda_codec_build_controls(struct hda_codec *codec); | |||
846 | * PCM | 849 | * PCM |
847 | */ | 850 | */ |
848 | int snd_hda_build_pcms(struct hda_bus *bus); | 851 | int snd_hda_build_pcms(struct hda_bus *bus); |
852 | int snd_hda_codec_build_pcms(struct hda_codec *codec); | ||
849 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, | 853 | void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, |
850 | u32 stream_tag, | 854 | u32 stream_tag, |
851 | int channel_id, int format); | 855 | int channel_id, int format); |