提交 1943b066 编写于 作者: C Colin Ian King 提交者: 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: NColin Ian King <colin.king@canonical.com>
Acked-By: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 2ea659a9
......@@ -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[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册