ASoC: kirkwood: constify of_device_id array
authorFabian Frederick <fabf@skynet.be>
Wed, 18 Mar 2015 16:48:58 +0000 (17:48 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 22 Mar 2015 18:03:28 +0000 (18:03 +0000)
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>
sound/soc/kirkwood/kirkwood-i2s.c

index def7d8260c4e579c06eeba8ba45f422e1fb482c5..0a7ff0e4247b47f4b7f4d247a4488631b7fd9e56 100644 (file)
@@ -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" },