ALSA: aoa: constify of_device_id array
authorFabian Frederick <fabf@skynet.be>
Wed, 18 Mar 2015 16:48:56 +0000 (17:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Mar 2015 11:11:13 +0000 (12:11 +0100)
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>
sound/aoa/soundbus/i2sbus/core.c

index b9737fae656a89ba6121eddf4804312f2843dc7f..1cbf210080a16c47237f97067c2185eb4f144a23 100644 (file)
@@ -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" },
        { }
 };