media: usb: make snd_pcm_hardware const
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 13 Aug 2017 12:43:08 +0000 (08:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:05:10 +0000 (08:05 -0400)
commit38c4f03acf92cc6845064f509bdb27c4af2618ea
treee37144afa44088db2169ce5a58cd1f09c9732081
parent1ab2234eefe5c6faa7d49ff5d2f21ac4204a8ca8
media: usb: make snd_pcm_hardware const

Make these const as they are only used during a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cx231xx/cx231xx-audio.c
drivers/media/usb/em28xx/em28xx-audio.c
drivers/media/usb/go7007/snd-go7007.c
drivers/media/usb/tm6000/tm6000-alsa.c
drivers/media/usb/usbtv/usbtv-audio.c