Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: ak4554: constify of_device_id array

of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fabian Frederick and committed by
Mark Brown
f7d4bfee c517d838

+1 -1
+1 -1
sound/soc/codecs/ak4554.c
··· 84 84 return 0; 85 85 } 86 86 87 - static struct of_device_id ak4554_of_match[] = { 87 + static const struct of_device_id ak4554_of_match[] = { 88 88 { .compatible = "asahi-kasei,ak4554" }, 89 89 {}, 90 90 };