Searched hist:"1482 ccdaae6a335f448cc91043695cb1a07af981" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | diff 1482ccdaae6a335f448cc91043695cb1a07af981 Tue Aug 01 12:56:33 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|