diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 17:48:56 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-19 12:11:13 +0100 |
commit | b24062bda7baba62781c2a67d126126ce0bc8899 (patch) | |
tree | 6b8d3aca41557fab1a3713607bd7ff71a72da203 /sound | |
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>
Diffstat (limited to 'sound')
-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); 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" }, { } }; |