]> git.baikalelectronics.ru Git - kernel.git/commit
agp: efficeon: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:53 +0000 (21:31 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 06:59:48 +0000 (16:59 +1000)
commit290c43ea85ace104969e2a5dd1dbfc77cf2adc04
tree056c4e4446b33d2a3a04a8a7ddd66bf78a245f16
parent336ce931bb32492055f55cb01f92d85e2df95b4c
agp: efficeon: 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: Dave Airlie <airlied@redhat.com>
drivers/char/agp/efficeon-agp.c