media: pci: make snd_pcm_hardware const
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 13 Aug 2017 12:43:09 +0000 (08:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:05:21 +0000 (08:05 -0400)
commit47f14314b33107d72560fee93bb69e1374c010ab
treeae955efa81dfd5740302138f4a937ff29de4093c
parent38c4f03acf92cc6845064f509bdb27c4af2618ea
media: pci: 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/pci/cobalt/cobalt-alsa-pcm.c
drivers/media/pci/cx18/cx18-alsa-pcm.c
drivers/media/pci/cx23885/cx23885-alsa.c
drivers/media/pci/cx25821/cx25821-alsa.c
drivers/media/pci/ivtv/ivtv-alsa-pcm.c
drivers/media/pci/saa7134/saa7134-alsa.c