aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-06-28 17:28:09 +0200
committerTakashi Iwai <tiwai@suse.de>2013-06-28 17:28:09 +0200
commit1272d4bc7d2ef96ad1b25f15237610269e2ce84a (patch)
tree020e5a3ac6952013971ddef3eba4a688a4024289
parentb53215eddce7b69170c83282a8ebec95e6d7a59f (diff)
downloadhda-emu-1272d4bc7d2ef96ad1b25f15237610269e2ce84a.tar.gz
Add SNDRV_CTL_ELEM_ID_NAME_MAXLEN definition
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/asound.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 61f1440..605559a 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -55,6 +55,8 @@ typedef int snd_ctl_elem_iface_t;
#define SNDRV_CTL_POWER_D3hot (SNDRV_CTL_POWER_D3|0x0000) /* Off, with power */
#define SNDRV_CTL_POWER_D3cold (SNDRV_CTL_POWER_D3|0x0001) /* Off, without power */
+#define SNDRV_CTL_ELEM_ID_NAME_MAXLEN 44
+
struct snd_ctl_elem_id {
unsigned int numid; /* numeric identifier, zero = invalid */
snd_ctl_elem_iface_t iface; /* interface identifier */