ASoC: soc-core: Replace zero-length array with flexible-array
[sfrench/cifs-2.6.git] / include / sound / soc.h
index 1288a87f9ccb399a9aab761ebd24871c7706bc0e..69a82487fa9baef5899085e353a814d29885db5b 100644 (file)
@@ -1172,7 +1172,7 @@ struct snd_soc_pcm_runtime {
        unsigned int fe_compr:1; /* for Dynamic PCM */
 
        int num_components;
-       struct snd_soc_component *components[0]; /* CPU/Codec/Platform */
+       struct snd_soc_component *components[]; /* CPU/Codec/Platform */
 };
 /* see soc_new_pcm_runtime()  */
 #define asoc_rtd_to_cpu(rtd, n)   (rtd)->dais[n]