]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: i2c: constify snd_i2c_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 29 Nov 2015 17:25:24 +0000 (18:25 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 30 Nov 2015 10:40:08 +0000 (11:40 +0100)
commita29672274c149676ab22ac2765f94c22681f7010
tree4de6fb9bc74db69aa190b3594366fbf327baf460
parent14edb83fd15ece0a28374e120be62f8a45774229
ALSA: i2c: constify snd_i2c_ops structures

The snd_i2c_ops structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/i2c.h
sound/i2c/i2c.c
sound/pci/ice1712/delta.c