The enum texts are supposed to be const char * const []. Without the
second const, it gets compile warnings like
sound/soc/codecs/max98095.c:607:2: warning: initialization discards qualifiers from pointer target type
Signed-off-by: Takashi Iwai <tiwai@suse.de>
unsigned char shift_r;
unsigned int max;
unsigned int mask;
unsigned char shift_r;
unsigned int max;
unsigned int mask;
+ const char * const *texts;
const unsigned int *values;
void *dapm;
};
const unsigned int *values;
void *dapm;
};