Home
last modified time | relevance | path

Searched hist:"2 b9e300fcbf952ebcd1d2732b2cc1d4414853e16" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/pci/mantis/
H A Dhopper_cards.cdiff 2b9e300fcbf952ebcd1d2732b2cc1d4414853e16 Tue Aug 01 12:56:32 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> media: mantis: hopper_cards: 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>