提交 7f2c52af 编写于 作者: F Fabian Frederick 提交者: Mark Brown

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: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 c517d838
...@@ -643,7 +643,7 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev) ...@@ -643,7 +643,7 @@ static int kirkwood_i2s_dev_remove(struct platform_device *pdev)
} }
#ifdef CONFIG_OF #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,kirkwood-audio" },
{ .compatible = "marvell,dove-audio" }, { .compatible = "marvell,dove-audio" },
{ .compatible = "marvell,armada370-audio" }, { .compatible = "marvell,armada370-audio" },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册