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

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
...@@ -132,7 +132,7 @@ enum rates { ...@@ -132,7 +132,7 @@ enum rates {
pcm_rate_48, max_pcm_rate, pcm_rate_48, max_pcm_rate,
}; };
struct ni_div_rates { static const struct ni_div_rates {
u32 mclk; u32 mclk;
u16 ni[max_pcm_rate]; u16 ni[max_pcm_rate];
} ni_div[] = { } ni_div[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment