]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cx18: constify pci_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 17:56:33 +0000 (13:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 13:47:41 +0000 (09:47 -0400)
commit1482ccdaae6a335f448cc91043695cb1a07af981
treed508bc84c55879dee558e8a6d4914a68acffe441
parent2b9e300fcbf952ebcd1d2732b2cc1d4414853e16
media: cx18: constify pci_device_id

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx18/cx18-driver.c