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)
commit2ab3c34c9c75331143d67042e826bdcde4d6ab37
tree5f2718c0ae80349084be6bd8f27cb04e5c83801f
parent334007d52597ebb079766ab34711728677130068
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