ALSA: ctxfi: constify rsc ops structures
The various rsc 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>
这个提交包含在:
@@ -39,7 +39,7 @@ struct rsc {
|
||||
u32 msr:4; /* The Master Sample Rate a resource working on */
|
||||
void *ctrl_blk; /* Chip specific control info block for a resource */
|
||||
struct hw *hw; /* Chip specific object for hardware access means */
|
||||
struct rsc_ops *ops; /* Generic resource operations */
|
||||
const struct rsc_ops *ops; /* Generic resource operations */
|
||||
};
|
||||
|
||||
struct rsc_ops {
|
||||
|
在新工单中引用
屏蔽一个用户