[media] media, sound: tea575x: constify snd_tea575x_ops structures
The snd_tea575x_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> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Mauro Carvalho Chehab

ebeveyn
85f9e06c59
işleme
22dbec265c
@@ -2605,7 +2605,7 @@ static void snd_es1968_tea575x_set_direction(struct snd_tea575x *tea, bool outpu
|
||||
}
|
||||
}
|
||||
|
||||
static struct snd_tea575x_ops snd_es1968_tea_ops = {
|
||||
static const struct snd_tea575x_ops snd_es1968_tea_ops = {
|
||||
.set_pins = snd_es1968_tea575x_set_pins,
|
||||
.get_pins = snd_es1968_tea575x_get_pins,
|
||||
.set_direction = snd_es1968_tea575x_set_direction,
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle