]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: max9867: make array ni_div static const
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Jun 2017 09:32:31 +0000 (10:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 22 Jun 2017 10:45:17 +0000 (11:45 +0100)
commit1943b0661184a5d17f31624dc8ac2c02a086c998
tree9577e516baebf817342bf8c4ef66d065707e1ce7
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
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: Colin Ian King <colin.king@canonical.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c