summaryrefslogtreecommitdiff
path: root/sound/aoa/soundbus/i2sbus
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-18 16:48:56 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-03-19 11:11:13 (GMT)
commitb24062bda7baba62781c2a67d126126ce0bc8899 (patch)
tree6b8d3aca41557fab1a3713607bd7ff71a72da203 /sound/aoa/soundbus/i2sbus
parent1aa9a4ea4fea5e4afe8be0229774b8f98db2e6c3 (diff)
downloadlinux-b24062bda7baba62781c2a67d126126ce0bc8899.tar.xz
ALSA: aoa: 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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/soundbus/i2sbus')
-rw-r--r--sound/aoa/soundbus/i2sbus/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c
index b9737fa..1cbf210 100644
--- 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" },
{ }
};