]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: make snd_pcm_hardware const
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 13 Aug 2017 12:43:11 +0000 (18:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 09:39:33 +0000 (11:39 +0200)
commit5cdabf6a78048291369f39ccf98230441e1e8b4a
tree5f2718c0ae80349084be6bd8f27cb04e5c83801f
parent1cc2adea752dbc8ceb24425f664380eaca17e8e7
usb: gadget: make snd_pcm_hardware const

Make this const as it is only used during a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_audio.c