Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54120399 authored by Arvind Yadav's avatar Arvind Yadav Committed by Ajay Agarwal
Browse files

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: Ia05f088487fd410b1567353512e4c3d457aaf96f
Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 640c0be81b9c33485559e716d914252228361b1c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent f8017056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment