[PATCH 34/38] ASoC: samsung: i2s: mark OF related data as maybe unused

Sylwester Nawrocki snawrocki at kernel.org
Fri Nov 20 17:41:55 CET 2020


On 11/20/20 17:16, Krzysztof Kozlowski wrote:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused:
> 
>    sound/soc/samsung/i2s.c:1646:42: warning: ‘i2sv5_dai_type_i2s1’ defined but not used [-Wunused-const-variable=]
>    sound/soc/samsung/i2s.c:1639:42: warning: ‘i2sv7_dai_type’ defined but not used [-Wunused-const-variable=]
> 
> Signed-off-by: Krzysztof Kozlowski<krzk at kernel.org>

Reviewed-by: Sylwester Nawrocki <snawrocki at kernel.org>


More information about the Alsa-devel mailing list