Skip to content
Commit f6b864a9 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 7ec41ee5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment