Commit b24062bd authored by Fabian Frederick's avatar Fabian Frederick Committed by Takashi Iwai

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: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1aa9a4ea
...@@ -31,7 +31,7 @@ module_param(force, int, 0444); ...@@ -31,7 +31,7 @@ module_param(force, int, 0444);
MODULE_PARM_DESC(force, "Force loading i2sbus even when" MODULE_PARM_DESC(force, "Force loading i2sbus even when"
" no layout-id property is present"); " no layout-id property is present");
static struct of_device_id i2sbus_match[] = { static const struct of_device_id i2sbus_match[] = {
{ .name = "i2s" }, { .name = "i2s" },
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment