Commit 1943b066 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown
Browse files

ASoC: max9867: make array ni_div static const



The array ni_div does not need to be in global scope and is not
modified, so make it static const.

Cleans up sparse warning:
"symbol 'ni_div' was not declared. Should it be static?"

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-By: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2ea659a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ enum rates {
	pcm_rate_48, max_pcm_rate,
};

struct ni_div_rates {
static const struct ni_div_rates {
	u32 mclk;
	u16 ni[max_pcm_rate];
} ni_div[] = {