]> git.baikalelectronics.ru Git - kernel.git/commit
agp: ati: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 1 Aug 2017 16:01:52 +0000 (21:31 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2017 06:59:47 +0000 (16:59 +1000)
commit336ce931bb32492055f55cb01f92d85e2df95b4c
tree758689f33887b0cc5fb97eb377043630271e095c
parent45cea9d604c95e423f11133895214df58c72388b
agp: ati: 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/ati-agp.c