summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-18 19:48:58 +0300
committerMark Brown <broonie@kernel.org>2015-03-22 21:03:28 +0300
commit7f2c52afc02554f18db27242b62d4047bbd8df4c (patch)
treeb3f06bfc54f5afca635f3bc585b697fe9815c71b /sound/soc
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-7f2c52afc02554f18db27242b62d4047bbd8df4c.tar.xz
ASoC: kirkwood: 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>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/kirkwood/kirkwood-i2s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c
index def7d8260c4e..0a7ff0e4247b 100644
--- a/sound/soc/kirkwood/kirkwood-i2s.c
+++ b/sound/soc/kirkwood/kirkwood-i2s.c
@@ -643,7 +643,7 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id mvebu_audio_of_match[] = {
+static const struct of_device_id mvebu_audio_of_match[] = {
{ .compatible = "marvell,kirkwood-audio" },
{ .compatible = "marvell,dove-audio" },
{ .compatible = "marvell,armada370-audio" },