]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Declare const properly for enum texts
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 May 2011 10:50:29 +0000 (12:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 May 2011 10:51:59 +0000 (12:51 +0200)
commit14c9c6d2fe60825406eb027e038cff99080fad2d
tree090be1f72b3d41f9fdce42e89155d7066928fdce
parent393d804c8fed26f9d681bd91d8e182d90a2b6109
ASoC: Declare const properly for enum texts

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>
include/sound/soc.h