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:
1aa9a4e
)
ALSA: aoa: constify of_device_id array
author
Fabian Frederick
<fabf@skynet.be>
Wed, 18 Mar 2015 16:48:56 +0000
(17:48 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 19 Mar 2015 11:11:13 +0000
(12:11 +0100)
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: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/i2sbus/core.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/aoa/soundbus/i2sbus/core.c
b/sound/aoa/soundbus/i2sbus/core.c
index b9737fae656a89ba6121eddf4804312f2843dc7f..1cbf210080a16c47237f97067c2185eb4f144a23 100644
(file)
--- a/
sound/aoa/soundbus/i2sbus/core.c
+++ b/
sound/aoa/soundbus/i2sbus/core.c
@@
-31,7
+31,7
@@
module_param(force, int, 0444);
MODULE_PARM_DESC(force, "Force loading i2sbus even when"
" no layout-id property is present");
-static struct of_device_id i2sbus_match[] = {
+static
const
struct of_device_id i2sbus_match[] = {
{ .name = "i2s" },
{ }
};