media: ttpci: av7110: constify pci_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 2 Aug 2017 17:14:54 +0000 (13:14 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 9 Aug 2017 13:50:09 +0000 (09:50 -0400)
commitcd142f431a3119eee0e06d8fa578f7d31120ac2a
treea2f062e2e4c1199c5a4257b7bc0da95e0efccfd2
parent1d71a4c60d9e1f6265a360ab0fd2e01bea26252d
media: ttpci: av7110: constify pci_device_id

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <media/drv-intf/saa7146.h>
and <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/ttpci/av7110.c