usb: gadget: f_uac2: constify snd_pcm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 9 Aug 2017 07:46:51 +0000 (13:16 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 9 Aug 2017 10:08:44 +0000 (13:08 +0300)
commitb765ff181ef64c56fad5cba31c1856fe8ef92d3c
tree690b96a1affcaca4be34fba8ee365ce43ecea87c
parentaae4e7a8bc44722fe70d58920a36916b1043195e
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.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/u_audio.c