]> asedeno.scripts.mit.edu Git - linux.git/commit
media: zoran: constify pci_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 17:56:23 +0000 (13:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 13:45:18 +0000 (09:45 -0400)
commitf758b2c373eb69e0b6908132129f4f2177ce7331
treef15072435f0eeccecd5e72aaff8602d7892bff95
parent82c055cdc21edf31f8721503ac2c94c571cadf1f
media: zoran: 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/zoran/zoran_card.c