projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
ASoC: kirkwood: constify of_device_id array
author
Fabian Frederick
<fabf@skynet.be>
Wed, 18 Mar 2015 16:48:58 +0000
(17:48 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/kirkwood/kirkwood-i2s.c
b/sound/soc/kirkwood/kirkwood-i2s.c
index def7d8260c4e579c06eeba8ba45f422e1fb482c5..0a7ff0e4247b47f4b7f4d247a4488631b7fd9e56 100644
(file)
--- 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" },