ALSA: bebob: constify various snd_bebob structures
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 11 Oct 2015 06:10:55 +0000 (08:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 11 Oct 2015 16:12:37 +0000 (18:12 +0200)
commit6b9866c893fc6a51e74df65fd9d9f851a3c2872e
treeb9a2f2263b5c680d4ee48749438538d8a24c7a03
parentbde3e2880ff92f9956914afdd19648ccb20f487a
ALSA: bebob: constify various snd_bebob structures

The structures of type snd_bebob_clock_spec, snd_bebob_rate_spec,
snd_bebob_meter_spec, and snd_bebob_spec are never modified after they are
initialized.  Make them all const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/bebob/bebob.c
sound/firewire/bebob/bebob.h
sound/firewire/bebob/bebob_focusrite.c
sound/firewire/bebob/bebob_maudio.c
sound/firewire/bebob/bebob_pcm.c
sound/firewire/bebob/bebob_proc.c
sound/firewire/bebob/bebob_stream.c
sound/firewire/bebob/bebob_terratec.c
sound/firewire/bebob/bebob_yamaha.c