Re: [PATCH v2] ALSA: ctxfi: constify rsc ops structures

2015-11-10 Thread Takashi Iwai
On Sun, 08 Nov 2015 23:40:41 +0100, Julia Lawall wrote: > > The various rsc ops structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > > --- > > v2: This does the following types all at once: dao_rsc_ops, dai_rsc_ops,

[PATCH v2] ALSA: ctxfi: constify rsc ops structures

2015-11-08 Thread Julia Lawall
The various rsc ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- v2: This does the following types all at once: dao_rsc_ops, dai_rsc_ops, amixer_rsc_ops, src_rsc_ops, srcimp_rsc_ops, rsc_ops. Most of these types are