aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-04-17 13:23:32 -0400
committerTakashi Iwai <tiwai@suse.de>2015-04-18 03:05:55 -0400
commit43c499dc2778b96e21ed14e1a71e7b117a0b406f (patch)
treed4144f120f0a0e61e360bf667195f91e7a758329 /include
parentf4d770317997f89bb6997ee3e8dd495cb8356ae9 (diff)
ALSA: asound.h - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN
we have defined SNDRV_CTL_ELEM_ID_NAME_MAXLEN as size of name array so use this define instead of numeric value Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/sound/asound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h
index 46145a5277fe..a45be6bdcf5b 100644
--- a/include/uapi/sound/asound.h
+++ b/include/uapi/sound/asound.h
@@ -864,7 +864,7 @@ struct snd_ctl_elem_id {
864 snd_ctl_elem_iface_t iface; /* interface identifier */ 864 snd_ctl_elem_iface_t iface; /* interface identifier */
865 unsigned int device; /* device/client number */ 865 unsigned int device; /* device/client number */
866 unsigned int subdevice; /* subdevice (substream) number */ 866 unsigned int subdevice; /* subdevice (substream) number */
867 unsigned char name[44]; /* ASCII name of item */ 867 unsigned char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* ASCII name of item */
868 unsigned int index; /* index of item */ 868 unsigned int index; /* index of item */
869}; 869};
870 870