commit | c89362225152fc6f2247f65371bfe3ccced3203b | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Jan 28 17:08:53 2010 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Jan 28 17:08:53 2010 +0100 |
tree | a4b07e2ab1d6b85771ab4c8eba13c681fd8b076f | |
parent | 7b36ea967cc5b5088a57fe225f1f72a3c160058b [diff] [blame] |
ALSA: hda - Define max number of PCM devices in hda_codec.h Define the constant rather in the common header file. Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 0c8f05c..b75da47 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h
@@ -527,6 +527,9 @@ /* max. codec address */ #define HDA_MAX_CODEC_ADDRESS 0x0f +/* max number of PCM devics per card */ +#define HDA_MAX_PCMS 10 + /* * generic arrays */