diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-09 13:16:51 +0530 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2019-01-09 10:16:58 +0530 |
| commit | 9585c49d9398ea17b1b89512aa171c6ceb61a198 (patch) | |
| tree | bee92092d81ab0110cfd9f7e61ef00f02569b1c5 /lib/test-string_helpers.c | |
| parent | ee164f3bfa129c11d850c781884e0ca95639a6c5 (diff) | |
usb: gadget: f_uac2: constify snd_pcm_ops structures
snd_pcm_ops are not supposed to change at runtime. All functions
working with snd_pcm_ops provided by <sound/pcm.h> work with
const snd_pcm_ops. So mark the non-const structs as const.
Change-Id: I8cc1c08b952cdc8974368301d784a60294bd7561
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 640c0be81b9c33485559e716d914252228361b1c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
