]> Pileus Git - ~andy/linux/blobdiff - include/sound/control.h
ALSA: core: Constify the name in new kcontrols
[~andy/linux] / include / sound / control.h
index b2796e83c7acf3d1b4dd5bfacd76966a4c3eff4e..57815f6a02b95f64dfcf49aa5c68089b768724df 100644 (file)
@@ -40,7 +40,7 @@ struct snd_kcontrol_new {
        snd_ctl_elem_iface_t iface;     /* interface identifier */
        unsigned int device;            /* device/client number */
        unsigned int subdevice;         /* subdevice (substream) number */
-       unsigned char *name;            /* ASCII name of item */
+       const unsigned char *name;      /* ASCII name of item */
        unsigned int index;             /* index of item */
        unsigned int access;            /* access rights */
        unsigned int count;             /* count of same elements */