diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 12:48:56 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-19 07:11:13 -0400 |
commit | b24062bda7baba62781c2a67d126126ce0bc8899 (patch) | |
tree | 6b8d3aca41557fab1a3713607bd7ff71a72da203 | |
parent | 1aa9a4ea4fea5e4afe8be0229774b8f98db2e6c3 (diff) |
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>
-rw-r--r-- | sound/aoa/soundbus/i2sbus/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index b9737fae656a..1cbf210080a1 100644 --- a/sound/aoa/soundbus/i2sbus/core.c +++ b/sound/aoa/soundbus/i2sbus/core.c | |||
@@ -31,7 +31,7 @@ module_param(force, int, 0444); | |||
31 | MODULE_PARM_DESC(force, "Force loading i2sbus even when" | 31 | MODULE_PARM_DESC(force, "Force loading i2sbus even when" |
32 | " no layout-id property is present"); | 32 | " no layout-id property is present"); |
33 | 33 | ||
34 | static struct of_device_id i2sbus_match[] = { | 34 | static const struct of_device_id i2sbus_match[] = { |
35 | { .name = "i2s" }, | 35 | { .name = "i2s" }, |
36 | { } | 36 | { } |
37 | }; | 37 | }; |