aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-01-28 17:08:53 +0100
committerTakashi Iwai <tiwai@suse.de>2010-01-28 17:08:53 +0100
commitc89362225152fc6f2247f65371bfe3ccced3203b (patch)
treea4b07e2ab1d6b85771ab4c8eba13c681fd8b076f /sound/pci/hda/hda_codec.h
parent7b36ea967cc5b5088a57fe225f1f72a3c160058b (diff)
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>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 0c8f05cc56b..b75da47571e 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -527,6 +527,9 @@ enum {
/* max. codec address */
#define HDA_MAX_CODEC_ADDRESS 0x0f
+/* max number of PCM devics per card */
+#define HDA_MAX_PCMS 10
+
/*
* generic arrays
*/