Re: [alsa-devel] [PATCH] ASoC: max9867: make array ni_div static const

2017-06-22 Thread Vinod Koul
On Thu, Jun 22, 2017 at 10:32:31AM +0100, Colin King wrote: > From: Colin Ian King > > 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?" Acked-By: Vinod Ko

[PATCH] ASoC: max9867: make array ni_div static const

2017-06-22 Thread Colin King
From: Colin Ian King 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: Colin Ian King --- sound/soc/codecs/max9867.c | 2 +- 1 file changed, 1 ins