]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Fix compile warning in wm8750.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 Aug 2011 16:22:10 +0000 (18:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Aug 2011 16:22:10 +0000 (18:22 +0200)
commit6ffe05727d71411c781718955164a1c6c22a4bfe
tree37f349ade7287de193d3b1766daa4410c2cfb40d
parent9bfcc6c58a955f65baae982fafc57389a68b4d79
ASoC: Fix compile warning in wm8750.c

sound/soc/codecs/wm8750.c:784:2: warning: missing braces around initializer
sound/soc/codecs/wm8750.c:784:2: warning: (near initialization for ‘wm8750_spi_ids[2].name’)

It's because struct spi_device_id.name is a char array, not a pointer,
while the driver initializes explicitly with 0.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/wm8750.c