summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ttpci
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-02 19:14:49 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-09 15:48:16 +0200
commitaf74030591c13331760fe66246338f64ded3f76f (patch)
tree802cd195616ebbd735a145aee3713df7800b3b6b /drivers/media/pci/ttpci
parentmedia: radio: constify pci_device_id (diff)
downloadlinux-af74030591c13331760fe66246338f64ded3f76f.tar.xz
linux-af74030591c13331760fe66246338f64ded3f76f.zip
media: drv-intf: saa7146: 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. So making 'pci_tbl' as const member of 'struct saa7146_extension'. 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>
Diffstat (limited to 'drivers/media/pci/ttpci')
0 files changed, 0 insertions, 0 deletions