Skip to content

Commit

Permalink
ALSA: aoa: constify of_device_id array
Browse files Browse the repository at this point in the history
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Fabian Frederick authored and tiwai committed Mar 19, 2015
1 parent 1aa9a4e commit b24062b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/aoa/soundbus/i2sbus/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
{ }
};
Expand Down

0 comments on commit b24062b

Please sign in to comment.